From f6ee035c613c92e29c21ad9427b38099aecccb63 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sat, 4 Jan 2014 22:24:47 +0100 Subject: [PATCH] fix killing placeholder windows The only consequence of the previous situation was that there was a misleading log message. --- src/manage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/manage.c b/src/manage.c index 8874994d..54203718 100644 --- a/src/manage.c +++ b/src/manage.c @@ -327,7 +327,7 @@ void manage_window(xcb_window_t window, xcb_get_window_attributes_cookie_t cooki } DLOG("new container = %p\n", nc); - if (nc->window != NULL) { + if (nc->window != NULL && nc->window != cwindow) { if (!restore_kill_placeholder(nc->window->id)) { DLOG("Uh?! Container without a placeholder, but with a window, has swallowed this to-be-managed window?!\n"); } -- 2.39.5