mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
Move the currently invalidated region. Fixes bug #532048, patch by Yevgen
2008-05-08 Richard Hult <richard@imendio.com> * gdk/quartz/gdkgeometry-quartz.c (gdk_window_scroll): Move the currently invalidated region. Fixes bug #532048, patch by Yevgen Muntyan. svn path=/trunk/; revision=20087
This commit is contained in:
parent
8ff76c14cd
commit
9a6c6fcf93
@ -1,3 +1,9 @@
|
||||
2008-05-08 Richard Hult <richard@imendio.com>
|
||||
|
||||
* gdk/quartz/gdkgeometry-quartz.c (gdk_window_scroll): Move the
|
||||
currently invalidated region. Fixes bug #532048, patch by Yevgen
|
||||
Muntyan.
|
||||
|
||||
2008-05-08 Richard Hult <richard@imendio.com>
|
||||
|
||||
* gdk/quartz/gdkeventloop-quartz.c (poll_func): Only set the fake
|
||||
|
@ -38,6 +38,10 @@ gdk_window_scroll (GdkWindow *window,
|
||||
|
||||
g_return_if_fail (GDK_IS_WINDOW (window));
|
||||
|
||||
/* Move the current invalid region */
|
||||
if (private->update_area)
|
||||
gdk_region_offset (private->update_area, dx, dy);
|
||||
|
||||
visible_nsrect = [impl->view visibleRect];
|
||||
|
||||
visible_rect.x = visible_nsrect.origin.x;
|
||||
|
Loading…
Reference in New Issue
Block a user