Highlight the mouse window when event debugging is enabled.

2008-02-17  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c
	(_gdk_quartz_events_update_mouse_window): Highlight the mouse
	window when event debugging is enabled.

svn path=/trunk/; revision=19603
This commit is contained in:
Richard Hult
2008-02-17 09:54:57 +00:00
committed by Richard Hult
parent eb2e05a33c
commit c17e6f1fa2
2 changed files with 11 additions and 0 deletions

View File

@ -885,6 +885,11 @@ _gdk_quartz_events_update_mouse_window (GdkWindow *window)
if (window == current_mouse_window)
return;
#ifdef G_ENABLE_DEBUG
if (_gdk_debug_flags & GDK_DEBUG_EVENTS)
_gdk_quartz_window_debug_highlight (window);
#endif /* G_ENABLE_DEBUG */
if (window)
g_object_ref (window);
if (current_mouse_window)