Commit f4baa51f authored by Richard Hult's avatar Richard Hult Committed by Richard Hult

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
parent 7639a611
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.
2007-12-10 Richard Hult <richard@imendio.com>
* gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment