]> git.sur5r.net Git - i3/i3/commitdiff
More Debug-output
authorMichael Stapelberg <michael+x200@stapelberg.de>
Sat, 28 Feb 2009 12:44:43 +0000 (13:44 +0100)
committerMichael Stapelberg <michael+x200@stapelberg.de>
Sat, 28 Feb 2009 12:44:43 +0000 (13:44 +0100)
src/layout.c

index db086148899a8495af2ea81f3d00bd2ad46a609c..fd9c79049314d5863c2bc1f1e58fdf410f6e5f3e 100644 (file)
@@ -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;