# HG changeset patch # User Richard M. Stallman # Date 851634450 0 # Node ID ab63a77c3a233aff98fe4892a5f53774c0efa17d # Parent 6409ef81a2a84708cc0b8a9b71af12462b7fa8d1 (x_iconify_frame): Clear visible when we set iconified. diff -r 6409ef81a2a8 -r ab63a77c3a23 src/xterm.c --- a/src/xterm.c Thu Dec 26 21:06:19 1996 +0000 +++ b/src/xterm.c Thu Dec 26 21:07:30 1996 +0000 @@ -5527,7 +5527,9 @@ that an invisible frame was changed to an icon, so we have to record it here. */ f->iconified = 1; + f->visible = 1; f->async_iconified = 1; + f->async_visible = 0; UNBLOCK_INPUT; return; } @@ -5541,6 +5543,8 @@ error ("Can't notify window manager of iconification"); f->async_iconified = 1; + f->async_visible = 0; + BLOCK_INPUT; XFlush (FRAME_X_DISPLAY (f)); @@ -5588,6 +5592,7 @@ } f->async_iconified = 1; + f->async_visible = 0; XFlush (FRAME_X_DISPLAY (f)); UNBLOCK_INPUT;