diff options
| author | Karl Heuer | 1994-02-02 07:34:08 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-02-02 07:34:08 +0000 |
| commit | 8c002a25f4640878279057f1245bf43740b66277 (patch) | |
| tree | 00c515469f66e560497c9aae5dbfba2c7922f6be /src | |
| parent | 6a1dc7ac28663a6b63aa55d0000228882d4d4b97 (diff) | |
| download | emacs-8c002a25f4640878279057f1245bf43740b66277.tar.gz emacs-8c002a25f4640878279057f1245bf43740b66277.zip | |
(x_iconify_frame): Fix misbalanced BLOCK_INPUT/UNBLOCK_INPUT.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c index 0b3c6dd91a8..7f0419e6f61 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -4815,6 +4815,10 @@ x_iconify_frame (f) | |||
| 4815 | error ("Can't notify window manager of iconification."); | 4815 | error ("Can't notify window manager of iconification."); |
| 4816 | 4816 | ||
| 4817 | f->async_iconified = 1; | 4817 | f->async_iconified = 1; |
| 4818 | |||
| 4819 | BLOCK_INPUT; | ||
| 4820 | XFlushQueue (); | ||
| 4821 | UNBLOCK_INPUT; | ||
| 4818 | #else /* not USE_X_TOOLKIT */ | 4822 | #else /* not USE_X_TOOLKIT */ |
| 4819 | 4823 | ||
| 4820 | BLOCK_INPUT; | 4824 | BLOCK_INPUT; |
| @@ -4868,10 +4872,10 @@ x_iconify_frame (f) | |||
| 4868 | refreshicon (f); | 4872 | refreshicon (f); |
| 4869 | } | 4873 | } |
| 4870 | #endif /* ! defined (HAVE_X11) */ | 4874 | #endif /* ! defined (HAVE_X11) */ |
| 4871 | #endif /* not USE_X_TOOLKIT */ | ||
| 4872 | 4875 | ||
| 4873 | XFlushQueue (); | 4876 | XFlushQueue (); |
| 4874 | UNBLOCK_INPUT; | 4877 | UNBLOCK_INPUT; |
| 4878 | #endif /* not USE_X_TOOLKIT */ | ||
| 4875 | } | 4879 | } |
| 4876 | 4880 | ||
| 4877 | /* Destroy the X window of frame F. */ | 4881 | /* Destroy the X window of frame F. */ |