summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-12-26 21:07:30 +0000
committerRichard M. Stallman <rms@gnu.org>1996-12-26 21:07:30 +0000
commit19f97ea416d6cd85de118649d05aefc6c6ca471b (patch)
tree71d6a5efb177581dfa5e1b6b704b7ab222a6f98f
parent3da835474bfae5c303d08bcc29544887150fc78f (diff)
downloademacs-19f97ea416d6cd85de118649d05aefc6c6ca471b.tar.gz
(x_iconify_frame): Clear visible when we set iconified.
-rw-r--r--src/xterm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 434de4d5ff7..e7b96597207 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -5527,7 +5527,9 @@ x_iconify_frame (f)
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 @@ x_iconify_frame (f)
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 @@ x_iconify_frame (f)
}
f->async_iconified = 1;
+ f->async_visible = 0;
XFlush (FRAME_X_DISPLAY (f));
UNBLOCK_INPUT;