Commit 726c23e2 authored by Richard Hult's avatar Richard Hult Committed by Richard Hult
Browse files

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
parent 1598526f
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)
......
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