summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorRichard Hult <richard@imendio.com>2007-12-10 19:49:52 +0000
committerRichard Hult <rhult@src.gnome.org>2007-12-10 19:49:52 +0000
commitf4baa51f4937f1a290e06b3a4cc9766116e74d1b (patch)
tree2e26f032743bfa9aa46008560a8a0417ef2cb63b /gdk
parent7639a611161271ed76d3a30fd5b37a136ddd00aa (diff)
downloadgtk+-f4baa51f4937f1a290e06b3a4cc9766116e74d1b.tar.gz
Fix the check for no changes to position and size.
2007-12-10 Richard Hult <richard@imendio.com> * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal): Fix the check for no changes to position and size. svn path=/trunk/; revision=19147
Diffstat (limited to 'gdk')
-rw-r--r--gdk/quartz/gdkwindow-quartz.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdk/quartz/gdkwindow-quartz.c b/gdk/quartz/gdkwindow-quartz.c
index a5e2274a62..62719e0936 100644
--- a/gdk/quartz/gdkwindow-quartz.c
+++ b/gdk/quartz/gdkwindow-quartz.c
@@ -1162,10 +1162,10 @@ 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))
+ if ((x == -1 || (x == private->x)) &&
+ (y == -1 || (y == private->y)) &&
+ (width == -1 || (width == impl->width)) &&
+ (height == -1 || (height == impl->height)))
{
return;
}