Mercurial > emacs
changeset 5740:48da4ed089e9
(x_iconify_frame): Fix misbalanced BLOCK_INPUT/UNBLOCK_INPUT.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Wed, 02 Feb 1994 07:34:08 +0000 |
parents | 0709eb474647 |
children | ea9f55ec6ee9 |
files | src/xterm.c |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xterm.c Wed Feb 02 07:25:37 1994 +0000 +++ b/src/xterm.c Wed Feb 02 07:34:08 1994 +0000 @@ -4815,6 +4815,10 @@ error ("Can't notify window manager of iconification."); f->async_iconified = 1; + + BLOCK_INPUT; + XFlushQueue (); + UNBLOCK_INPUT; #else /* not USE_X_TOOLKIT */ BLOCK_INPUT; @@ -4868,10 +4872,10 @@ refreshicon (f); } #endif /* ! defined (HAVE_X11) */ -#endif /* not USE_X_TOOLKIT */ XFlushQueue (); UNBLOCK_INPUT; +#endif /* not USE_X_TOOLKIT */ } /* Destroy the X window of frame F. */