From 327a53c849ae0ad23335388b8dfaa7cfcc2ffc79 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sat, 28 Feb 2009 13:44:43 +0100 Subject: [PATCH] More Debug-output --- src/layout.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/layout.c b/src/layout.c index db086148..fd9c7904 100644 --- a/src/layout.c +++ b/src/layout.c @@ -204,12 +204,17 @@ void render_container(xcb_connection_t *connection, Container *container) { reposition_client(connection, client); } + printf("before client->rect.width = %d, client->rect.height = %d\n", client->rect.width, + client->rect.height); /* TODO: vertical default layout */ if (client->force_reconfigure | (client->rect.width != (client->rect.width = container->width)) | (client->rect.height != (client->rect.height = container->height / num_clients))) { resize_client(connection, client); - } + } else printf("no reconfigure necessary\n"); + printf("after client->rect.width = %d, client->rect.height = %d\n", client->rect.width, + client->rect.height); + if (client->force_reconfigure) client->force_reconfigure = false; -- 2.39.5