public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Minimising window with "Always on top" attribute leaves contents in underlying window
@ 2004-01-25  8:29 Mike Parker
  2004-01-25 18:39 ` Jack Tanner
  0 siblings, 1 reply; 6+ messages in thread
From: Mike Parker @ 2004-01-25  8:29 UTC (permalink / raw)
  To: cygwin-xfree

I'm using 4.3.0-42 and have noticed that the following minor bug in
multi-window operation when running on Win2K and WinXPPro:

Two windows (terminal or otherwise) are overlapped and the topmost one has
it's "Always on top" attribute set (by right-clicking on the windows title
bar). The topmost window is then minimised, leaving a copy of its contents
on the desktop, viewable by moving the remaining window over the portion of
the desktop previously occupied by the other window.

Regards,

Mike



^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <MABBIGKNNKPOMNLEJIGHKEBNCCAA.mikethepsych@blueyonder.co.uk >]
* Re: Minimising window with "Always on top" attribute leaves contents in underlying window
@ 2004-01-26  4:37 Harold L Hunt II
  2004-01-26  5:10 ` Earle F. Philhower III
  0 siblings, 1 reply; 6+ messages in thread
From: Harold L Hunt II @ 2004-01-26  4:37 UTC (permalink / raw)
  To: cygx

Earle,

Any reason for the following in your patch:

@@ -893,7 +909,7 @@
  	if (s_pScreenPriv != NULL)
  	  s_pScreenPriv->fWindowOrderChanged = TRUE;
        }
-      return 0;
+      break;


The thing that strikes me as odd is that you have to return from the 
WM_WINDOWPOSCHANGED message without calling DefWindowProc (which will 
get called if you change that return to a break) in order to prevent 
Windows from breaking that message down into a WM_SIZE and WM_MOVE 
message and sending those in addition.  My worry is that you may have 
essentially found a bug in the WM_WINDOWPOSCHANGED handling that was 
fixed by allowing the WM_SIZE and WM_MOVE messages to be generated and 
handled, when we should really fix such a bug instead of accidentally 
masking its existance.

I'm not comfortable removing this change from your patch since it will 
then need to be tested again to verify that things work as expected. 
Since you have already been testing it, I figured it would be easier for 
you to do the testing :)

Let me know what to do with your patch,

Harold


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-01-26  5:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-25  8:29 Minimising window with "Always on top" attribute leaves contents in underlying window Mike Parker
2004-01-25 18:39 ` Jack Tanner
2004-01-25 19:58   ` Jack Tanner
     [not found] <MABBIGKNNKPOMNLEJIGHKEBNCCAA.mikethepsych@blueyonder.co.uk >
2004-01-26  4:08 ` Earle F. Philhower III
2004-01-26  4:37 Harold L Hunt II
2004-01-26  5:10 ` Earle F. Philhower III

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).