diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xmenu.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/xmenu.c b/src/xmenu.c index b9aabd94ae1..fd6fc960739 100644 --- a/src/xmenu.c +++ b/src/xmenu.c | |||
| @@ -3333,6 +3333,14 @@ xdialog_show (f, keymaps, title, header, error_name) | |||
| 3333 | /* No selection has been chosen yet. */ | 3333 | /* No selection has been chosen yet. */ |
| 3334 | menu_item_selection = 0; | 3334 | menu_item_selection = 0; |
| 3335 | 3335 | ||
| 3336 | /* Force a redisplay before showing the dialog. If a frame is created | ||
| 3337 | just before showing the dialog, its contents may not have been fully | ||
| 3338 | drawn, as this depends on timing of events from the X server. Redisplay | ||
| 3339 | is not done when a dialog is shown. If redisplay could be done in the | ||
| 3340 | X event loop (i.e. the X event loop does not run in a signal handler) | ||
| 3341 | this would not be needed. */ | ||
| 3342 | Fredisplay (Qt); | ||
| 3343 | |||
| 3336 | /* Actually create and show the dialog. */ | 3344 | /* Actually create and show the dialog. */ |
| 3337 | create_and_show_dialog (f, first_wv); | 3345 | create_and_show_dialog (f, first_wv); |
| 3338 | 3346 | ||