summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2012-10-31 22:50:39 +0000
committerJon TURNEY <jon.turney@dronecode.org.uk>2012-11-21 14:02:35 +0000
commit81a3951f9062b684b0a36071207b60be691f72cb (patch)
tree555d2d5ffae874411d3bc2b92ebdc2722ab38448
parentfb5f7090dde7796e7591ea04921e536189fc3113 (diff)
Report XID in hex in focus debugging
This helps when comparing with the output of xwininfo -tree -root
-rw-r--r--src/libxcwm/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libxcwm/window.c b/src/libxcwm/window.c
index 18e012b..40f877d 100644
--- a/src/libxcwm/window.c
+++ b/src/libxcwm/window.c
@@ -85,7 +85,7 @@ xcwm_window_set_input_focus(xcwm_window_t *window)
xcb_get_input_focus(window->context->conn);
xcb_get_input_focus_reply_t *reply =
xcb_get_input_focus_reply(window->context->conn, cookie, NULL);
- printf("Focus was in window #%d, now in #%d (window.c)\n",
+ printf("Focus was in window 0x%08x, now in 0x%08x (window.c)\n",
reply->focus, window->window_id);
free(reply);