]> git.sur5r.net Git - i3/i3/commitdiff
more debug output
authorMichael Stapelberg <michael@stapelberg.de>
Wed, 2 Jun 2010 15:04:26 +0000 (17:04 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Wed, 2 Jun 2010 15:04:26 +0000 (17:04 +0200)
src/handlers.c
src/manage.c
src/tree.c

index 91872e4b14f83729fe7ae94312783096ee972844..7613110c7b3fba8c6e2547efe3cd57b4a8c19752 100644 (file)
@@ -421,6 +421,7 @@ int handle_configure_request(void *prophs, xcb_connection_t *conn, xcb_configure
  *
  */
 int handle_configure_event(void *prophs, xcb_connection_t *conn, xcb_configure_notify_event_t *event) {
+    DLOG("configure_event, sequence %d\n", event->sequence);
         /* We ignore this sequence twice because events for child and frame should be ignored */
         add_ignore_event(event->sequence);
         add_ignore_event(event->sequence);
index 4305abd148d2420cc9254fbaa631114fe0f5e911..5f5bb44c01c3947c106b2f9c3b55a9d0c5a58a50 100644 (file)
@@ -111,7 +111,7 @@ void manage_window(xcb_window_t window, xcb_get_window_attributes_cookie_t cooki
 
     /* Check if the window is already managed */
     if (con_by_window_id(window) != NULL) {
-        LOG("already managed\n");
+        LOG("already managed (by con %p)\n", con_by_window_id(window));
         goto out;
     }
 
index c4315e313ddbabae129af691af2ab242b0938bb4..048fd54904a62d7ea0d173ba17425adfbdb4c6e5 100644 (file)
@@ -147,7 +147,7 @@ void tree_close(Con *con, bool kill_window) {
             next = con->parent;
     }
 
-    LOG("closing %p\n", con);
+    DLOG("closing %p, kill_window = %d\n", con, kill_window);
     Con *child;
     /* We cannot use TAILQ_FOREACH because the children get deleted
      * in their parent’s nodes_head */