From: Richard Hult Date: Mon, 8 Oct 2007 17:37:44 +0000 (+0000) Subject: Ignore if there are no changes, fixes bug #467269. Patch from Jonathan X-Git-Url: http://pileus.org/git/?a=commitdiff_plain;h=ba05b365638cf1f80362a3bd0e588c414a197274;p=~andy%2Fgtk Ignore if there are no changes, fixes bug #467269. Patch from Jonathan 2007-10-08 Richard Hult * 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 --- diff --git a/ChangeLog b/ChangeLog index bcc8a47d9..c2a21c3c3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-10-08 Richard Hult + + * 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 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal): 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