Commit 9a6c6fcf authored by Richard Hult's avatar Richard Hult Committed by Richard Hult

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
parent 8ff76c14
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment