]> Pileus Git - ~andy/gtk/commit - gdk/gdkwindow.c
Fix background clearing when exposing with non-double buffered widgets
authorAlexander Larsson <alexl@redhat.com>
Sun, 19 Feb 2012 10:39:08 +0000 (11:39 +0100)
committerAlexander Larsson <alexl@redhat.com>
Sun, 19 Feb 2012 10:43:48 +0000 (11:43 +0100)
commite3da2f55ea66758309a89ebc43b766b442fe03ef
tree1c22a2d9ff056d4c3dd01d342bffca6560fa5746
parentcaecfe36f026a50c693341203c0941aa60a5c72d
Fix background clearing when exposing with non-double buffered widgets

We used to set a flushed boolean whenever we flushing double buffered
areas to the window due to a non-db draw. We then read back from the
window if this was set. This broke when we were doing multiple paints
of the same area after a flush as we were re-reading the window each
time, overdrawing what was previously draw.
gdk/gdkwindow.c