forked from AuroraMiddleware/gtk
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:
parent
eb2e05a33c
commit
c17e6f1fa2
@ -1,3 +1,9 @@
|
||||
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.
|
||||
|
||||
2008-02-16 Richard Hult <richard@imendio.com>
|
||||
|
||||
* gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user