From 1c856da57b29e41c73701f6f798589d50274b368 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Tue, 6 May 2014 10:43:52 +0200 Subject: gtk: add gd_grab trace event Input grab code is tricky, add some debug & trouble shooting aid. Signed-off-by: Gerd Hoffmann --- trace-events | 1 + 1 file changed, 1 insertion(+) (limited to 'trace-events') diff --git a/trace-events b/trace-events index 3a41abf249..aaaae42e69 100644 --- a/trace-events +++ b/trace-events @@ -1048,6 +1048,7 @@ ppm_save(const char *filename, void *display_surface) "%s surface=%p" gd_switch(const char *tab, int width, int height) "tab=%s, width=%d, height=%d" gd_update(const char *tab, int x, int y, int w, int h) "tab=%s, x=%d, y=%d, w=%d, h=%d" gd_key_event(const char *tab, int gdk_keycode, int qemu_keycode, const char *action) "tab=%s, translated GDK keycode %d to QEMU keycode %d (%s)" +gd_grab(const char *tab, const char *device, bool on) "tab=%s, %s %d" # ui/input.c input_event_key_number(int conidx, int number, bool down) "con %d, key number 0x%x, down %d" -- cgit v1.2.1