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:
Richard Hult 2008-05-08 17:51:03 +00:00 committed by Richard Hult
parent 8ff76c14cd
commit 9a6c6fcf93
2 changed files with 10 additions and 0 deletions

View File

@ -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

View File

@ -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;