summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2012-10-31 22:48:57 +0000
committerJon TURNEY <jon.turney@dronecode.org.uk>2012-11-21 14:02:23 +0000
commit72e4f042ce214168fb22d55e24058ab52bb1c3bf (patch)
tree42c8f67f40934b1e3df2f85b85cb343938a52373
parent0a1ee42448267cb2dac19547ee326f76b0eea41f (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> Reviewed-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
-rw-r--r--src/libxcwm/input.c6
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