Bug 9840 - Windows flicker badly when resized in -multiwindow mode
Summary: Windows flicker badly when resized in -multiwindow mode
Status: RESOLVED FIXED
Alias: None
Product: cygwin
Classification: Unclassified
Component: Cygwin/X (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Yaakov Selkowitz
URL:
Keywords:
Depends on:
Blocks:
 
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 (713 bytes, 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 Yaakov Selkowitz 2009-02-12 19:58:20 UTC
Patch in the queue for 1.5.3-7.
Comment 3 Yaakov Selkowitz 2009-02-22 19:16:11 UTC
Pushed in 1.5.3-7; closing.