more debug output

This commit is contained in:
Michael Stapelberg 2010-06-02 17:04:26 +02:00
parent 1c5adc6c35
commit 14a312c152
3 changed files with 3 additions and 2 deletions

View 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) { 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 */ /* We ignore this sequence twice because events for child and frame should be ignored */
add_ignore_event(event->sequence); add_ignore_event(event->sequence);
add_ignore_event(event->sequence); add_ignore_event(event->sequence);

View 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 */ /* Check if the window is already managed */
if (con_by_window_id(window) != NULL) { 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; goto out;
} }

View File

@ -147,7 +147,7 @@ void tree_close(Con *con, bool kill_window) {
next = con->parent; next = con->parent;
} }
LOG("closing %p\n", con); DLOG("closing %p, kill_window = %d\n", con, kill_window);
Con *child; Con *child;
/* We cannot use TAILQ_FOREACH because the children get deleted /* We cannot use TAILQ_FOREACH because the children get deleted
* in their parents nodes_head */ * in their parents nodes_head */