]> Pileus Git - ~andy/gtk/commitdiff
Ignore if there are no changes, fixes bug #467269. Patch from Jonathan
authorRichard Hult <richard@imendio.com>
Mon, 8 Oct 2007 17:37:44 +0000 (17:37 +0000)
committerRichard Hult <rhult@src.gnome.org>
Mon, 8 Oct 2007 17:37:44 +0000 (17:37 +0000)
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

ChangeLog
gdk/quartz/gdkwindow-quartz.c

index bcc8a47d9d6d9140c07f1bd8b10a6f9ade1c688a..c2a21c3c366ca44d79ff0b2e51edfc953b9cec1d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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):
index 40a8bf918f2dfa4313a9d41785d97cbfe5578f42..fa7a752dbcb495902cc0c6cb4244171ff19f5fd2 100644 (file)
@@ -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