Commit 1e6bc770 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(x_iconify_frame): Clear visible when we set iconified.

parent 98381e42
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment