diff options
author | Richard Hult <richard@imendio.com> | 2007-10-08 17:37:44 +0000 |
---|---|---|
committer | Richard Hult <rhult@src.gnome.org> | 2007-10-08 17:37:44 +0000 |
commit | ba05b365638cf1f80362a3bd0e588c414a197274 (patch) | |
tree | 638c785a47719edd392feb9a941fac4cb42de791 | |
parent | 7d9ac29c93e5e6c9e7ef4912346b5f1c3ed3fd7b (diff) | |
download | gdk-pixbuf-ba05b365638cf1f80362a3bd0e588c414a197274.tar.gz |
Ignore if there are no changes, fixes bug #467269. Patch from Jonathan
2007-10-08 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
Ignore if there are no changes, fixes bug #467269. Patch from
Jonathan Dempsey.
svn path=/trunk/; revision=18896
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | gdk/quartz/gdkwindow-quartz.c | 8 |
2 files changed, 14 insertions, 0 deletions
@@ -1,6 +1,12 @@ 2007-10-08 Richard Hult <richard@imendio.com> * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal): + Ignore if there are no changes, fixes bug #467269. Patch from + Jonathan Dempsey. + +2007-10-08 Richard Hult <richard@imendio.com> + + * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal): Patch from Paul Davis to implement this in terms of scrollRect, fixes bug #478377. diff --git a/gdk/quartz/gdkwindow-quartz.c b/gdk/quartz/gdkwindow-quartz.c index 40a8bf918..fa7a752db 100644 --- a/gdk/quartz/gdkwindow-quartz.c +++ b/gdk/quartz/gdkwindow-quartz.c @@ -1075,6 +1075,14 @@ move_resize_window_internal (GdkWindow *window, impl = GDK_WINDOW_IMPL_QUARTZ (private->impl); + if ((x == private->x) && + (y == private->y) && + (width == impl->width) && + (height == impl->height)) + { + return; + } + if (!impl->toplevel) { /* The previously visible area of this window in a coordinate |