forked from AuroraMiddleware/gtk
surface: Add enter/leave events to profiler traces
These are just as likely to trigger extra work than other mouse events, so it is useful to show them.
This commit is contained in:
parent
95ed9de706
commit
36cb812ad8
@ -4072,6 +4072,9 @@ add_event_mark (GdkEvent *event,
|
|||||||
|
|
||||||
case GDK_ENTER_NOTIFY:
|
case GDK_ENTER_NOTIFY:
|
||||||
case GDK_LEAVE_NOTIFY:
|
case GDK_LEAVE_NOTIFY:
|
||||||
|
message = g_strdup ("");
|
||||||
|
break;
|
||||||
|
|
||||||
case GDK_TOUCHPAD_SWIPE:
|
case GDK_TOUCHPAD_SWIPE:
|
||||||
case GDK_TOUCHPAD_PINCH:
|
case GDK_TOUCHPAD_PINCH:
|
||||||
case GDK_SCROLL:
|
case GDK_SCROLL:
|
||||||
|
Loading…
Reference in New Issue
Block a user