forked from AuroraMiddleware/gtk
Add xevent->xcrossing.mode to GDK_NOTE() for enter and leave notify events
This commit is contained in:
parent
305979d5a1
commit
3d1f55b68d
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user