]> Pileus Git - ~andy/gtk/commitdiff
Ignore if the old and new windows are the same.
authorRichard Hult <richard@imendio.com>
Wed, 6 Jun 2007 09:06:59 +0000 (09:06 +0000)
committerRichard Hult <rhult@src.gnome.org>
Wed, 6 Jun 2007 09:06:59 +0000 (09:06 +0000)
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

ChangeLog
gdk/quartz/gdkevents-quartz.c

index 435fabf7d39aaff7d003c953e2ede609f2e9870e..e08ccdfe4520556b39f2328d182ba17df5df8165 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index fc0335fd934dd45889143aa8f4000c59ceefe061..ae58307b798705e63fe1103915659aa5dc55e4d1 100644 (file)
@@ -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)