Add xevent->xcrossing.mode to GDK_NOTE() for enter and leave notify events

This commit is contained in:
Michael Natterer 2009-07-09 17:59:41 +02:00
parent 305979d5a1
commit 3d1f55b68d

View File

@ -1265,10 +1265,11 @@ gdk_event_translate (GdkDisplay *display,
case EnterNotify:
GDK_NOTE (EVENTS,
g_message ("enter notify:\t\twindow: %ld detail: %d subwin: %ld",
g_message ("enter notify:\t\twindow: %ld detail: %d subwin: %ld mode: %d",
xevent->xcrossing.window,
xevent->xcrossing.detail,
xevent->xcrossing.subwindow));
xevent->xcrossing.subwindow,
xevent->xcrossing.mode));
if (window_private == NULL)
{
@ -1361,9 +1362,11 @@ gdk_event_translate (GdkDisplay *display,
case LeaveNotify:
GDK_NOTE (EVENTS,
g_message ("leave notify:\t\twindow: %ld detail: %d subwin: %ld",
g_message ("leave notify:\t\twindow: %ld detail: %d subwin: %ld mode: %d",
xevent->xcrossing.window,
xevent->xcrossing.detail, xevent->xcrossing.subwindow));
xevent->xcrossing.detail,
xevent->xcrossing.subwindow,
xevent->xcrossing.mode));
if (window_private == NULL)
{