gtk+ r20087 - in trunk: . gdk/quartz
- From: rhult svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r20087 - in trunk: . gdk/quartz
- Date: Thu, 8 May 2008 18:51:04 +0100 (BST)
Author: rhult
Date: Thu May 8 17:51:03 2008
New Revision: 20087
URL: http://svn.gnome.org/viewvc/gtk+?rev=20087&view=rev
Log:
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.
Modified:
trunk/ChangeLog
trunk/gdk/quartz/gdkgeometry-quartz.c
Modified: trunk/gdk/quartz/gdkgeometry-quartz.c
==============================================================================
--- trunk/gdk/quartz/gdkgeometry-quartz.c (original)
+++ trunk/gdk/quartz/gdkgeometry-quartz.c Thu May 8 17:51:03 2008
@@ -38,6 +38,10 @@
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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]