Bug 9840 - Windows flicker badly when resized in -multiwindow mode
Windows flicker badly when resized in -multiwindow mode
Status: RESOLVED FIXED
Product: cygwin
Classification: Unclassified
Component: Cygwin/X
unspecified
: P2 normal
: ---
Assigned To: Cygwin/X maintainer
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-02-12 18:15 UTC by Jon TURNEY
Modified: 2009-02-22 19:16 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments
Patch to reduce resize flickering (1.96 KB, patch)
2009-02-12 18:18 UTC, Jon TURNEY
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jon TURNEY 2009-02-12 18:15:23 UTC
 
Comment 1 Jon TURNEY 2009-02-12 18:18:35 UTC
Created attachment 3733 [details]
Patch to reduce resize flickering

Resizing windows in rootless mode causes them to flicker very badly.  This is
because the default WM_ERASEBKGND handling occurs, which erases the entire
invalidated area with the default (white) brush, pointlessly, before the entire
invalidated area is bitblt'ed from the shadow framebuffer.

Attached patch causes WM_ERASEBKGND handling to be skippped.
Comment 2 Cygwin/X maintainer 2009-02-12 19:58:20 UTC
Patch in the queue for 1.5.3-7.
Comment 3 Cygwin/X maintainer 2009-02-22 19:16:11 UTC
Pushed in 1.5.3-7; closing.