diff src/frame-msw.c @ 827:28426972f654

[xemacs-hg @ 2002-05-06 14:14:33 by jhar] Misc win32 native build and doc fixes
author jhar
date Mon, 06 May 2002 14:16:31 +0000
parents 6728e641994e
children 2b6fa2618f76
line wrap: on
line diff
--- a/src/frame-msw.c	Sun May 05 11:33:57 2002 +0000
+++ b/src/frame-msw.c	Mon May 06 14:16:31 2002 +0000
@@ -258,12 +258,7 @@
 static void
 mswindows_init_frame_3 (struct frame *f)
 {
-  /* Don't do this earlier or we get a WM_PAINT before the frame is ready.
-   * The SW_x parameter in the first call that an app makes to ShowWindow is
-   * ignored, and the parameter specified in the caller's STARTUPINFO is
-   * substituted instead. That parameter is SW_HIDE if we were started by
-   * runemacs, so call this twice. #### runemacs is evil */
-  ShowWindow (FRAME_MSWINDOWS_HANDLE (f), SW_SHOWNORMAL);
+  /* Don't do this earlier or we get a WM_PAINT before the frame is ready */
   ShowWindow (FRAME_MSWINDOWS_HANDLE (f), SW_SHOWNORMAL);
   SetForegroundWindow (FRAME_MSWINDOWS_HANDLE (f));
   DragAcceptFiles (FRAME_MSWINDOWS_HANDLE (f), TRUE);