diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2015-09-09 10:12:20 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2015-09-15 12:27:39 +0200 |
commit | d531deef119666d4b3605e186a43010782efd899 (patch) | |
tree | 57aedbb22c82cfebfa0009fec0b721eb880daf88 /trace-events | |
parent | 695cc59d42f2e285abd5cf278bdc07360a995eaa (diff) | |
download | qemu-d531deef119666d4b3605e186a43010782efd899.tar.gz qemu-d531deef119666d4b3605e186a43010782efd899.tar.bz2 qemu-d531deef119666d4b3605e186a43010782efd899.zip |
gtk: trace input grab reason
Add a reason to grab calls and trace points,
so it is easier to debug grab related ui issues.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'trace-events')
-rw-r--r-- | trace-events | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/trace-events b/trace-events index 1927c764a9..3d1857b270 100644 --- a/trace-events +++ b/trace-events @@ -1150,7 +1150,8 @@ 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" +gd_grab(const char *tab, const char *device, const char *reason) "tab=%s, dev=%s, reason=%s" +gd_ungrab(const char *tab, const char *device) "tab=%s, dev=%s" # ui/vnc.c vnc_key_guest_leds(bool caps, bool num, bool scroll) "caps %d, num %d, scroll %d" |