From 4934bcddb3b3fd2a79f37ee2c03d4137c3a35cec Mon Sep 17 00:00:00 2001 From: Andrew Innes Date: Mon, 28 Dec 1998 19:43:05 +0000 Subject: [PATCH] (x_iconify_frame): Wait for frame to be iconified; do not set async_iconified flag though. --- src/w32term.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/w32term.c b/src/w32term.c index a88f3f7afc3..de2ee00c80d 100644 --- a/src/w32term.c +++ b/src/w32term.c @@ -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; } -- 2.39.2