diff options
author | Olivier Fourdan <fourdan@xfce.org> | 2018-03-31 15:23:07 +0200 |
---|---|---|
committer | Olivier Fourdan <fourdan@xfce.org> | 2018-03-31 15:24:57 +0200 |
commit | a67f5d0ba37e3043a19f9dc1de0ef5adb96384a8 (patch) | |
tree | a2684834e6ce387cc1a09517d4aac01780eeef22 /src/keyboard.c | |
parent | ea1a7115c1e2634d77c5b647cd51b7b0b8b027cb (diff) | |
download | xfwm4-a67f5d0ba37e3043a19f9dc1de0ef5adb96384a8.tar.gz |
trace: rework traces
Make traces more consistent.
Diffstat (limited to 'src/keyboard.c')
-rw-r--r-- | src/keyboard.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index a66fc4606..362a9016b 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -124,7 +124,6 @@ parseKeyString (Display * dpy, MyKey * key, const char *str) { g_return_if_fail (key != NULL); - TRACE ("entering parseKeyString"); TRACE ("key string=%s", str); key->keycode = 0; @@ -156,7 +155,7 @@ grabKey (XfwmDevices *devices, Display *dpy, MyKey *key, Window w) { int status; - TRACE ("entering grabKey"); + TRACE ("window 0x%lx", w); status = GrabSuccess; if (key->keycode) @@ -206,7 +205,7 @@ grabKey (XfwmDevices *devices, Display *dpy, MyKey *key, Window w) void ungrabKeys (XfwmDevices *devices, Display *dpy, Window w) { - TRACE ("entering ungrabKeys"); + TRACE ("window 0x%lx", w); xfwm_device_ungrab_keycode (devices, dpy, AnyKey, AnyModifier, w); } @@ -216,7 +215,7 @@ grabButton (XfwmDevices *devices, Display *dpy, guint button, guint modifier, Wi { gboolean result; - TRACE ("entering grabButton"); + TRACE ("window 0x%lx", w); result = TRUE; if (modifier == AnyModifier) @@ -269,9 +268,7 @@ grabButton (XfwmDevices *devices, Display *dpy, guint button, guint modifier, Wi void ungrabButton (XfwmDevices *devices, Display *dpy, guint button, guint modifier, Window w) { - TRACE ("entering ungrabKeys"); - - TRACE ("entering grabButton"); + TRACE ("window 0x%lx", w); if (modifier == AnyModifier) { |