diff src/w32term.c @ 23951:ef1cba882819

(x_iconify_frame): Wait for frame to be iconified; do not set async_iconified flag though.
author Andrew Innes <andrewi@gnu.org>
date Mon, 28 Dec 1998 19:43:05 +0000
parents b59294a6167e
children 34f6ec762e5e
line wrap: on
line diff
--- a/src/w32term.c	Mon Dec 28 19:42:26 1998 +0000
+++ b/src/w32term.c	Mon Dec 28 19:43:05 1998 +0000
@@ -4762,9 +4762,7 @@
   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;
 }