events: Add event name to trace description

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3417>
This commit is contained in:
Ivan Molodetskikh 2023-10-15 11:49:08 +04:00 committed by Marge Bot
parent 58ee1dfdc8
commit ff1ee92aa7

View File

@ -254,6 +254,8 @@ meta_display_handle_event (MetaDisplay *display,
COGL_TRACE_BEGIN_SCOPED (MetaDisplayHandleEvent, COGL_TRACE_BEGIN_SCOPED (MetaDisplayHandleEvent,
"Meta::Display::handle_event()"); "Meta::Display::handle_event()");
COGL_TRACE_DESCRIBE (MetaDisplayHandleEvent,
clutter_event_get_name (event));
has_grab = stage_has_grab (display); has_grab = stage_has_grab (display);