diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/xfns.c | 12 |
2 files changed, 13 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 76101cce23f..87b07151e77 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2001-07-25 Gerd Moellmann <gerd@gnu.org> | 1 | 2001-07-25 Gerd Moellmann <gerd@gnu.org> |
| 2 | 2 | ||
| 3 | * xfns.c (Fx_file_dialog): Block/unblock input while processing | ||
| 4 | events so that we get a chance of processing expose events. | ||
| 5 | |||
| 3 | * xdisp.c (resize_mini_window): Don't resize while redisplaying. | 6 | * xdisp.c (resize_mini_window): Don't resize while redisplaying. |
| 4 | 7 | ||
| 5 | 2001-07-24 Gerd Moellmann <gerd@gnu.org> | 8 | 2001-07-24 Gerd Moellmann <gerd@gnu.org> |
diff --git a/src/xfns.c b/src/xfns.c index 0d71a16fa6a..1713c8ef963 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -11256,10 +11256,18 @@ selection dialog's entry field, if MUSTMATCH is non-nil.") | |||
| 11256 | XmListSetPos (list, item_pos); | 11256 | XmListSetPos (list, item_pos); |
| 11257 | } | 11257 | } |
| 11258 | 11258 | ||
| 11259 | /* Process events until the user presses Cancel or OK. */ | 11259 | /* Process events until the user presses Cancel or OK. Block |
| 11260 | and unblock input here so that we get a chance of processing | ||
| 11261 | expose events. */ | ||
| 11262 | UNBLOCK_INPUT; | ||
| 11260 | result = 0; | 11263 | result = 0; |
| 11261 | while (result == 0) | 11264 | while (result == 0) |
| 11262 | XtAppProcessEvent (Xt_app_con, XtIMAll); | 11265 | { |
| 11266 | BLOCK_INPUT; | ||
| 11267 | XtAppProcessEvent (Xt_app_con, XtIMAll); | ||
| 11268 | UNBLOCK_INPUT; | ||
| 11269 | } | ||
| 11270 | BLOCK_INPUT; | ||
| 11263 | 11271 | ||
| 11264 | /* Get the result. */ | 11272 | /* Get the result. */ |
| 11265 | if (result == XmCR_OK) | 11273 | if (result == XmCR_OK) |