From: Matthias Clasen Date: Wed, 22 Jan 2020 19:50:54 +0000 (-0500) Subject: surface: Add enter/leave events to profiler traces X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~20^2~232 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=36cb812ad8725e2b3f2887c3d4a6a16b987dddfb;p=gtk4.git 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. --- diff --git a/gdk/gdksurface.c b/gdk/gdksurface.c index 8424576238..0b51f78c02 100644 --- a/gdk/gdksurface.c +++ b/gdk/gdksurface.c @@ -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: