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
This commit is contained in:
Richard Hult 2007-10-08 17:37:44 +00:00 committed by Richard Hult
parent 7d9ac29c93
commit ba05b36563
2 changed files with 14 additions and 0 deletions

View File

@ -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):

View 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