Commit 4934bcdd authored by Andrew Innes's avatar Andrew Innes
Browse files

(x_iconify_frame): Wait for frame to be iconified; do

not set async_iconified flag though.
parent 3ef68e6b
......@@ -4762,9 +4762,7 @@ x_iconify_frame (f)
BLOCK_INPUT;
/* Simulate the user minimizing the frame. */
PostMessage (FRAME_W32_WINDOW (f), WM_SYSCOMMAND, SC_MINIMIZE, 0);
f->async_iconified = 1;
SendMessage (FRAME_W32_WINDOW (f), WM_SYSCOMMAND, SC_MINIMIZE, 0);
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