From: Michael Stapelberg Date: Sat, 4 Jan 2014 21:24:47 +0000 (+0100) Subject: fix killing placeholder windows X-Git-Tag: 4.8~156 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f6ee035c613c92e29c21ad9427b38099aecccb63;p=i3%2Fi3 fix killing placeholder windows The only consequence of the previous situation was that there was a misleading log message. --- 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"); }