changeset 95733:0554ef53fccd

(x_make_frame_visible): Use alternate restore flags.
author Jason Rumney <jasonr@gnu.org>
date Mon, 09 Jun 2008 23:43:19 +0000
parents 6488b258c0aa
children 9af235f0d5ec
files src/w32term.c
diffstat 1 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32term.c	Mon Jun 09 23:10:32 2008 +0000
+++ b/src/w32term.c	Mon Jun 09 23:43:19 2008 +0000
@@ -6377,8 +6377,15 @@
 
       f->output_data.w32->asked_for_visible = 1;
 
-/*      my_show_window (f, FRAME_W32_WINDOW (f), f->async_iconified ? SW_RESTORE : SW_SHOW);  */
-      my_show_window (f, FRAME_W32_WINDOW (f), SW_SHOWNORMAL);
+      /* The first of these seems to give more expected behavior, but
+         was added as a commented out line in Sept 1997, with the
+         second version remaining uncommented. There may have been
+         some problem with it that led to it not being enabled,
+         so the old version remains commented out below in case we
+         decide we need to go back to it [23.0.60 2008-06-09].  */
+      my_show_window (f, FRAME_W32_WINDOW (f),
+                      f->async_iconified ? SW_RESTORE : SW_SHOW);
+      /* my_show_window (f, FRAME_W32_WINDOW (f), SW_SHOWNORMAL);  */
     }
 
   /* Synchronize to ensure Emacs knows the frame is visible