aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Rumney2008-06-09 23:43:45 +0000
committerJason Rumney2008-06-09 23:43:45 +0000
commit12f718579e6d438e9cb3916b8d64ff3801706550 (patch)
tree4cc9ba518ade067fb05463155b8baac7057490ea
parentdf80fd9da1ad30033acb65dcc8182788efc423c3 (diff)
downloademacs-12f718579e6d438e9cb3916b8d64ff3801706550.tar.gz
emacs-12f718579e6d438e9cb3916b8d64ff3801706550.zip
(x_make_frame_visible): Use alternate restore flags.
-rw-r--r--src/ChangeLog2
-rw-r--r--src/w32term.c11
2 files changed, 11 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index cb8b1f1f3ab..538f55d84dd 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
12008-06-09 Jason Rumney <jasonr@gnu.org> 12008-06-09 Jason Rumney <jasonr@gnu.org>
2 2
3 * w32term.c (x_make_frame_visible): Use alternate restore flags.
4
3 * w32menu.c (Fx_popup_menu): Unwind protect while building menu. 5 * w32menu.c (Fx_popup_menu): Unwind protect while building menu.
4 (parse_single_submenu): Remove. 6 (parse_single_submenu): Remove.
5 (digest_single_submenu): Remove. 7 (digest_single_submenu): Remove.
diff --git a/src/w32term.c b/src/w32term.c
index a9bbbbe23fc..63d8a1518fe 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -6377,8 +6377,15 @@ x_make_frame_visible (f)
6377 6377
6378 f->output_data.w32->asked_for_visible = 1; 6378 f->output_data.w32->asked_for_visible = 1;
6379 6379
6380/* my_show_window (f, FRAME_W32_WINDOW (f), f->async_iconified ? SW_RESTORE : SW_SHOW); */ 6380 /* The first of these seems to give more expected behavior, but
6381 my_show_window (f, FRAME_W32_WINDOW (f), SW_SHOWNORMAL); 6381 was added as a commented out line in Sept 1997, with the
6382 second version remaining uncommented. There may have been
6383 some problem with it that led to it not being enabled,
6384 so the old version remains commented out below in case we
6385 decide we need to go back to it [23.0.60 2008-06-09]. */
6386 my_show_window (f, FRAME_W32_WINDOW (f),
6387 f->async_iconified ? SW_RESTORE : SW_SHOW);
6388 /* my_show_window (f, FRAME_W32_WINDOW (f), SW_SHOWNORMAL); */
6382 } 6389 }
6383 6390
6384 /* Synchronize to ensure Emacs knows the frame is visible 6391 /* Synchronize to ensure Emacs knows the frame is visible