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,10 +1265,11 @@ gdk_event_translate (GdkDisplay *display,
|
|||||||
|
|
||||||
case EnterNotify:
|
case EnterNotify:
|
||||||
GDK_NOTE (EVENTS,
|
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.window,
|
||||||
xevent->xcrossing.detail,
|
xevent->xcrossing.detail,
|
||||||
xevent->xcrossing.subwindow));
|
xevent->xcrossing.subwindow,
|
||||||
|
xevent->xcrossing.mode));
|
||||||
|
|
||||||
if (window_private == NULL)
|
if (window_private == NULL)
|
||||||
{
|
{
|
||||||
@ -1361,9 +1362,11 @@ gdk_event_translate (GdkDisplay *display,
|
|||||||
|
|
||||||
case LeaveNotify:
|
case LeaveNotify:
|
||||||
GDK_NOTE (EVENTS,
|
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.window,
|
||||||
xevent->xcrossing.detail, xevent->xcrossing.subwindow));
|
xevent->xcrossing.detail,
|
||||||
|
xevent->xcrossing.subwindow,
|
||||||
|
xevent->xcrossing.mode));
|
||||||
|
|
||||||
if (window_private == NULL)
|
if (window_private == NULL)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user