diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2012-10-31 22:48:57 +0000 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2012-11-21 14:02:23 +0000 |
commit | 7ccadf942415e5bf4ab0f05e3c141556c53a564b (patch) | |
tree | 42c8f67f40934b1e3df2f85b85cb343938a52373 | |
parent | f24441f99d958df22488c2d1874a58cf26fb55e1 (diff) |
Clean up a mention of xtoq in libxcwm
Also, make debug output for injected input events a bit clearer
Also, add button number to xcwm_input_mouse_button_event debug output
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
-rw-r--r-- | src/libxcwm/input.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libxcwm/input.c b/src/libxcwm/input.c index 2950d55..55e598a 100644 --- a/src/libxcwm/input.c +++ b/src/libxcwm/input.c @@ -45,7 +45,7 @@ xcwm_input_key_event(xcwm_context_t *context, uint8_t code, int state) XCB_CURRENT_TIME, none, 0, 0, 1); xcb_flush(context->conn); - printf("xcwm.c received key event - uint8_t '%i'\n", code); + printf("Injected key event - key code %i\n", code); } void @@ -67,8 +67,8 @@ xcwm_input_mouse_button_event(xcwm_window_t *window, XCB_CURRENT_TIME, window->window_id, 0, 0, 0); xcb_flush(window->context->conn); - printf("Mouse event received by xtoq.c - (%ld,%ld), state: %d\n", - x, y, state); + printf("Injected mouse event - (%ld,%ld), button %d, state: %d\n", + x, y, button, state); } void |