]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_make_frame_visible): Use alternate restore flags.
authorJason Rumney <jasonr@gnu.org>
Mon, 9 Jun 2008 23:43:45 +0000 (23:43 +0000)
committerJason Rumney <jasonr@gnu.org>
Mon, 9 Jun 2008 23:43:45 +0000 (23:43 +0000)
src/ChangeLog
src/w32term.c

index cb8b1f1f3ab88552e43cf7ed127697351ff6196d..538f55d84dd2ff09f9e94ef4d3bf63e509a1ad84 100644 (file)
@@ -1,5 +1,7 @@
 2008-06-09  Jason Rumney  <jasonr@gnu.org>
 
+        * w32term.c (x_make_frame_visible): Use alternate restore flags.
+
         * w32menu.c (Fx_popup_menu): Unwind protect while building menu.
         (parse_single_submenu): Remove.
         (digest_single_submenu): Remove.
index a9bbbbe23fceef1027f45d0ce7f985a9a2603a3d..63d8a1518fe98beaada53ba607d7806a77acd820 100644 (file)
@@ -6377,8 +6377,15 @@ x_make_frame_visible (f)
 
       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