mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-13 03:32:24 +00:00
dtinfo: improve MessageMgr to avoid unexpected behavior.
This commit is contained in:
parent
a16ba22f1a
commit
00c5ba3508
1 changed files with 7 additions and 1 deletions
|
@ -222,13 +222,19 @@ MessageMgr::show_it(Widget dialog)
|
|||
|
||||
f_popped_up = True;
|
||||
f_pressed_ok = False;
|
||||
|
||||
|
||||
Boolean sensitive = XtIsSensitive(shell);
|
||||
|
||||
XtSetSensitive(shell, False);
|
||||
|
||||
XEvent event;
|
||||
while(f_popped_up)
|
||||
{
|
||||
XtAppNextEvent (window_system().app_context(), &event);
|
||||
XtDispatchEvent (&event);
|
||||
}
|
||||
|
||||
XtSetSensitive(shell, sensitive);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue