automatically set windows with client_leader to floating

This commit is contained in:
Michael Stapelberg 2010-11-14 20:15:51 +01:00
parent 055bd18142
commit 33eb00d6ae

View 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) {