From: Andrew Innes Date: Mon, 28 Dec 1998 19:43:05 +0000 (+0000) Subject: (x_iconify_frame): Wait for frame to be iconified; do X-Git-Tag: emacs-20.4~998 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4934bcddb3b3fd2a79f37ee2c03d4137c3a35cec;p=emacs.git (x_iconify_frame): Wait for frame to be iconified; do not set async_iconified flag though. --- 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; }