x11: Trace XEvent processing

https://gitlab.gnome.org/GNOME/mutter/merge_requests/765
This commit is contained in:
Jonas Ådahl 2019-08-29 20:35:01 +03:00 committed by Georges Basile Stavracas Neto
parent a957c2f0c2
commit 3c0067dc69

View File

@ -32,6 +32,7 @@
#include "backends/meta-cursor-tracker-private.h"
#include "backends/x11/meta-backend-x11.h"
#include "compositor/meta-compositor-x11.h"
#include "cogl/cogl-trace.h"
#include "core/bell.h"
#include "core/display-private.h"
#include "core/meta-workspace-manager-private.h"
@ -1766,6 +1767,9 @@ meta_x11_display_handle_xevent (MetaX11Display *x11_display,
XIEvent *input_event;
MetaCursorTracker *cursor_tracker;
COGL_TRACE_BEGIN_SCOPED (MetaX11DisplayHandleXevent,
"X11Display (handle X11 event)");
#if 0
meta_spew_event_print (x11_display, event);
#endif