From 479679807473d2c41b870f31b2f28b5a884157ab Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 16 Apr 2010 21:02:34 +0200 Subject: [PATCH] better debug messages --- src/x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/x.c b/src/x.c index 347b8f76..7ba56c65 100644 --- a/src/x.c +++ b/src/x.c @@ -255,7 +255,7 @@ void x_push_changes(Con *con) { LOG("\n\n PUSHING CHANGES\n\n"); x_push_node(con); - LOG("-- PUSHING FOCUS STACK --\n"); + LOG("-- PUSHING WINDOW STACK --\n"); /* X11 correctly represents the stack if we push it from bottom to top */ CIRCLEQ_FOREACH_REVERSE(state, &state_head, state) { LOG("stack: 0x%08x\n", state->id); @@ -278,7 +278,7 @@ void x_push_changes(Con *con) { to_focus = focused->window->id; if (focused_id != to_focus) { - LOG("Updating focus\n"); + LOG("Updating focus (focused: %p / %s)\n", focused, focused->name); xcb_set_input_focus(conn, XCB_INPUT_FOCUS_POINTER_ROOT, to_focus, XCB_CURRENT_TIME); } -- 2.39.5