don't place windows over docks. but let them place over menus and toolbars. i guess not utility windows though?
Dana Jansens danakj@orodu.net
1 files changed,
3 insertions(+),
1 deletions(-)
jump to
M
openbox/place.c
→
openbox/place.c
@@ -268,7 +268,9 @@ SMART_FOCUSED
} ObSmartType; #define SMART_IGNORE(placer, c) \ - (placer == c || c->shaded || !client_normal(c) || !c->frame->visible || \ + (placer == c || c->shaded || !c->frame->visible || \ + c->type == OB_CLIENT_TYPE_SPLASH || c->type == OB_CLIENT_TYPE_DESKTOP || \ + c->type == OB_CLIENT_TYPE_MENU || c->type == OB_CLIENT_TYPE_TOOLBAR || \ (c->desktop != DESKTOP_ALL && \ c->desktop != (placer->desktop == DESKTOP_ALL ? \ screen_desktop : placer->desktop)))