(x_iconify_frame): Wait for frame to be iconified; do
authorAndrew Innes <andrewi@gnu.org>
Mon, 28 Dec 1998 19:43:05 +0000 (19:43 +0000)
committerAndrew Innes <andrewi@gnu.org>
Mon, 28 Dec 1998 19:43:05 +0000 (19:43 +0000)
not set async_iconified flag though.

src/w32term.c

index a88f3f7..de2ee00 100644 (file)
@@ -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;
 }