ignore fullscreen windows in placing
Dana Jansens danakj@orodu.net
1 files changed,
8 insertions(+),
4 deletions(-)
jump to
M
openbox/place.c
→
openbox/place.c
@@ -214,9 +214,11 @@ /* stay out from under windows in higher layers */
for (it = stacking_list; it; it = g_list_next(it)) { ObClient *c; - if (WINDOW_IS_CLIENT(it->data)) + if (WINDOW_IS_CLIENT(it->data)) { c = it->data; - else + if (c->fullscreen) + continue; + } else continue; if (c->layer > client->layer) {@@ -239,9 +241,11 @@
for (; it && !stop; it = g_list_next(it)) { ObClient *c; - if (WINDOW_IS_CLIENT(it->data)) + if (WINDOW_IS_CLIENT(it->data)) { c = it->data; - else + if (c->fullscreen) + continue; + } else continue; if (!SMART_IGNORE(client, c)) {