diff --git a/ChangeLog b/ChangeLog index 75b6a00c29..d9c34e897f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-05-08 Richard Hult + + * 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 * gdk/quartz/gdkeventloop-quartz.c (poll_func): Only set the fake diff --git a/gdk/quartz/gdkgeometry-quartz.c b/gdk/quartz/gdkgeometry-quartz.c index d1f81017ec..7e4ec5eec1 100644 --- a/gdk/quartz/gdkgeometry-quartz.c +++ b/gdk/quartz/gdkgeometry-quartz.c @@ -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;