forked from AuroraMiddleware/gtk
Ignore if the old and new windows are the same.
2007-06-06 Richard Hult <richard@imendio.com> * gdk/quartz/gdkevents-quartz.c (_gdk_quartz_events_update_mouse_window): Ignore if the old and new windows are the same. svn path=/trunk/; revision=18049
This commit is contained in:
parent
1598526f5c
commit
726c23e20f
@ -1,3 +1,9 @@
|
||||
2007-06-06 Richard Hult <richard@imendio.com>
|
||||
|
||||
* gdk/quartz/gdkevents-quartz.c
|
||||
(_gdk_quartz_events_update_mouse_window): Ignore if the old and new
|
||||
windows are the same.
|
||||
|
||||
2007-06-06 Kristian Rietveld <kris@imendio.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_unrealize): also remove the
|
||||
|
@ -802,6 +802,9 @@ _gdk_quartz_events_get_mouse_window (void)
|
||||
void
|
||||
_gdk_quartz_events_update_mouse_window (GdkWindow *window)
|
||||
{
|
||||
if (window == current_mouse_window)
|
||||
return;
|
||||
|
||||
if (window)
|
||||
g_object_ref (window);
|
||||
if (current_mouse_window)
|
||||
|
Loading…
Reference in New Issue
Block a user