changeset 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 d8f8533db4cc
children 4ef8ec98dd43
files src/w32term.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
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;
 }