]> Pileus Git - ~andy/gtk/commit
Fix non-double-buffered drawing
authorAlexander Larsson <alexl@redhat.com>
Thu, 9 Feb 2012 20:05:35 +0000 (21:05 +0100)
committerAlexander Larsson <alexl@redhat.com>
Thu, 9 Feb 2012 20:14:07 +0000 (21:14 +0100)
commit5d9736fe13fe0178c725cf7ff04ad188cd4d5d1b
tree366075893f8724c06ff729a4e12951ff45f9ec53
parentb21dd67d60b16101c24a67c9a7e82ff22adc45a6
Fix non-double-buffered drawing

There was a sign issue in a coordinate transform that made us
flush the wrong region when flushing an implicit paint.
The non-double buffered drawing would then be drawn over the
right area, but then at the end of the implicit paint this
would be overdrawn with the area we didn't properly remove
from the implicit paint.

Also, the translation from window coords to impl window
coords is now done before removing any active double
buffered paints, as these are also in impl window coords.
gdk/gdkwindow.c