src/manage.c: properly set automatic flag when calling floating_enable()

This commit is contained in:
Mateusz Poszwa 2011-08-08 20:49:49 +02:00 committed by Michael Stapelberg
parent eb0a56fad1
commit cd5ebc2dca
1 changed files with 1 additions and 1 deletions

View File

@ -321,7 +321,7 @@ void manage_window(xcb_window_t window, xcb_get_window_attributes_cookie_t cooki
if (want_floating) {
DLOG("geometry = %d x %d\n", nc->geometry.width, nc->geometry.height);
floating_enable(nc, false);
floating_enable(nc, true);
}
/* to avoid getting an UnmapNotify event due to reparenting, we temporarily