events: Trace handling of event

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2998>
This commit is contained in:
Jonas Ådahl 2022-12-20 11:28:06 +01:00 committed by Marge Bot
parent 3eabc4c707
commit 604aeba9b3

View File

@ -232,6 +232,9 @@ meta_display_handle_event (MetaDisplay *display,
wayland_compositor = meta_context_get_wayland_compositor (context); wayland_compositor = meta_context_get_wayland_compositor (context);
#endif #endif
COGL_TRACE_BEGIN_SCOPED (MetaDisplayHandleEvent,
"MetaDisplay (handle event)");
has_grab = stage_has_grab (display); has_grab = stage_has_grab (display);
if (display->grabbed_in_clutter != has_grab) if (display->grabbed_in_clutter != has_grab)