mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
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
This commit is contained in:
parent
7639a61116
commit
f4baa51f49
@ -1,3 +1,8 @@
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user