XOR the old and the new regions instead of subtracting old from new. Fixes
Wed Oct 8 21:20:21 2008 S%G�%@ren Sandmann <sandmann@redhat.com> * scrollarea.c (foo_scroll_area_size_allocate): XOR the old and the new regions instead of subtracting old from new. Fixes bug 551566, reported by Christian Persch. svn path=/trunk/; revision=9052
This commit is contained in:
parent
bb704bbd11
commit
62e8868136
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
Wed Oct 8 21:20:21 2008 Søren Sandmann <sandmann@redhat.com>
|
||||
|
||||
* scrollarea.c (foo_scroll_area_size_allocate): XOR the old and
|
||||
the new regions instead of subtracting old from new. Fixes bug
|
||||
551566, reported by Christian Persch.
|
||||
|
||||
Wed Oct 8 21:15:04 2008 Søren Sandmann <sandmann@redhat.com>
|
||||
|
||||
* xrandr-capplet.c: Make use of new clone mode API in
|
||||
|
|
|
@ -816,7 +816,7 @@ foo_scroll_area_size_allocate (GtkWidget *widget,
|
|||
-widget->allocation.x, -widget->allocation.y);
|
||||
invalid = gdk_region_rectangle (allocation);
|
||||
gdk_region_offset (invalid, -allocation->x, -allocation->y);
|
||||
gdk_region_subtract (invalid, old_allocation);
|
||||
gdk_region_xor (invalid, old_allocation);
|
||||
allocation_to_canvas_region (scroll_area, invalid);
|
||||
foo_scroll_area_invalidate_region (scroll_area, invalid);
|
||||
gdk_region_destroy (old_allocation);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue