From: Michael Stapelberg Date: Sun, 14 Nov 2010 21:49:05 +0000 (+0100) Subject: Bugfix: only set clients to floating which have a leader that is not their own window... X-Git-Tag: tree-pr1~96 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e8b5a802e23f7f5ec517b2ca2a230278d578ef01;p=i3%2Fi3 Bugfix: only set clients to floating which have a leader that is not their own window (Thanks fernandotcl) --- diff --git a/src/manage.c b/src/manage.c index 4724d704..d0ecf1eb 100644 --- a/src/manage.c +++ b/src/manage.c @@ -200,7 +200,8 @@ void manage_window(xcb_window_t window, xcb_get_window_attributes_cookie_t cooki want_floating = true; } - if (cwindow->transient_for != XCB_NONE || cwindow->leader != XCB_NONE) + if (cwindow->transient_for != XCB_NONE || + (cwindow->leader != XCB_NONE && cwindow->leader != cwindow->id)) want_floating = true; if (want_floating) {