# HG changeset patch # User Jason Rumney # Date 1213054999 0 # Node ID 0554ef53fccd71417c93459e3678ec0dacfc62ee # Parent 6488b258c0aa8ce67719466ca372701fbe5cb1e7 (x_make_frame_visible): Use alternate restore flags. diff -r 6488b258c0aa -r 0554ef53fccd src/w32term.c --- 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