bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#14841: Frames created invisible have their visibility parameter set


From: martin rudalics
Subject: bug#14841: Frames created invisible have their visibility parameter set to t
Date: Wed, 31 Jul 2013 10:33:33 +0200

> Sounds like a bug: Emacs previously did the equivalent of the above
> when a full-screen frame was requested, but that was changed recently.

The patch below fixes it for me.

martin


=== modified file 'src/w32term.c'
--- src/w32term.c       2013-07-30 05:56:18 +0000
+++ src/w32term.c       2013-07-31 08:11:24 +0000
@@ -5717,7 +5717,9 @@
       w32_fullscreen_rect (hwnd, f->want_fullscreen,
                            FRAME_NORMAL_PLACEMENT (f).rcNormalPosition, &rect);
       FRAME_PREV_FSMODE (f) = f->want_fullscreen;
-      if (f->want_fullscreen == FULLSCREEN_BOTH)
+      if (f->want_fullscreen == FULLSCREEN_MAXIMIZED)
+       PostMessage (FRAME_W32_WINDOW (f), WM_SYSCOMMAND, 0xf030, 0);
+      else if (f->want_fullscreen == FULLSCREEN_BOTH)
         {
           SetWindowLong (hwnd, GWL_STYLE, dwStyle & ~WS_OVERLAPPEDWINDOW);
           SetWindowPos (hwnd, HWND_TOP, rect.left, rect.top,







reply via email to

[Prev in Thread] Current Thread [Next in Thread]