]> git.sur5r.net Git - i3/i3/commitdiff
automatically set windows with client_leader to floating
authorMichael Stapelberg <michael@stapelberg.de>
Sun, 14 Nov 2010 19:15:51 +0000 (20:15 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 14 Nov 2010 19:15:51 +0000 (20:15 +0100)
src/manage.c

index 344da4cc12805427b1a6e203368f291b8aa1fb82..4724d704190a1950dd0ff82c47c43f686183c03e 100644 (file)
@@ -200,7 +200,7 @@ void manage_window(xcb_window_t window, xcb_get_window_attributes_cookie_t cooki
         want_floating = true;
     }
 
-    if (cwindow->transient_for != XCB_NONE)
+    if (cwindow->transient_for != XCB_NONE || cwindow->leader != XCB_NONE)
         want_floating = true;
 
     if (want_floating) {