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:
Matthias Clasen 2020-01-22 14:50:54 -05:00
parent 95ed9de706
commit 36cb812ad8

View File

@ -4072,6 +4072,9 @@ add_event_mark (GdkEvent *event,
case GDK_ENTER_NOTIFY:
case GDK_LEAVE_NOTIFY:
message = g_strdup ("");
break;
case GDK_TOUCHPAD_SWIPE:
case GDK_TOUCHPAD_PINCH:
case GDK_SCROLL: