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: Eli Zaretskii
Subject: bug#14841: Frames created invisible have their visibility parameter set to t
Date: Sat, 20 Jul 2013 19:09:07 +0300

> Date: Sat, 20 Jul 2013 18:48:32 +0300
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden
> 
> >  X      (1)   (2)
> > ------ ----- ------
> >  t       t     t
> >  nil    nil    t  <<<<<<<<< this is now nil
> >  icon   nil   icon
> > 
> > I think both the (1) and (2) columns show bugs.
> 
> The last one seems like am artifact of how we implement iconified
> frames on Windows.  I have no idea how to improve/fix that.

Maybe like this:

=== modified file 'src/w32term.c'
--- src/w32term.c       2013-07-18 16:50:05 +0000
+++ src/w32term.c       2013-07-20 16:06:07 +0000
@@ -6129,6 +6131,9 @@ x_iconify_frame (struct frame *f)
   /* Simulate the user minimizing the frame.  */
   SendMessage (FRAME_W32_WINDOW (f), WM_SYSCOMMAND, SC_MINIMIZE, 0);
 
+  SET_FRAME_VISIBLE (f, 0);
+  SET_FRAME_ICONIFIED (f, 1);
+
   unblock_input ();
 }
 






reply via email to

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