Commit 3d1f55b6 authored by Michael Natterer's avatar Michael Natterer 😴

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

parent 305979d5
......@@ -1265,11 +1265,12 @@ gdk_event_translate (GdkDisplay *display,
case EnterNotify:
GDK_NOTE (EVENTS,
g_message ("enter notify:\t\twindow: %ld detail: %d subwin: %ld",
xevent->xcrossing.window,
xevent->xcrossing.detail,
xevent->xcrossing.subwindow));
g_message ("enter notify:\t\twindow: %ld detail: %d subwin: %ld mode: %d",
xevent->xcrossing.window,
xevent->xcrossing.detail,
xevent->xcrossing.subwindow,
xevent->xcrossing.mode));
if (window_private == NULL)
{
return_val = FALSE;
......@@ -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",
xevent->xcrossing.window,
xevent->xcrossing.detail, xevent->xcrossing.subwindow));
g_message ("leave notify:\t\twindow: %ld detail: %d subwin: %ld mode: %d",
xevent->xcrossing.window,
xevent->xcrossing.detail,
xevent->xcrossing.subwindow,
xevent->xcrossing.mode));
if (window_private == NULL)
{
......
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