From: Karl Heuer Date: Wed, 2 Feb 1994 07:34:08 +0000 (+0000) Subject: (x_iconify_frame): Fix misbalanced BLOCK_INPUT/UNBLOCK_INPUT. X-Git-Tag: emacs-19.34~10111 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8c002a25f4640878279057f1245bf43740b66277;p=emacs.git (x_iconify_frame): Fix misbalanced BLOCK_INPUT/UNBLOCK_INPUT. --- 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) 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 @@ x_iconify_frame (f) 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. */