From: Dana Jansens Date: Mon, 4 Jun 2007 19:02:04 +0000 (+0000) Subject: don't place windows over docks. but let them place over menus and toolbars. i guess... X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=0a5ac0c8ef4d921e7774caeddf853ddfd3ef1131;p=chaz%2Fopenbox don't place windows over docks. but let them place over menus and toolbars. i guess not utility windows though? --- diff --git a/openbox/place.c b/openbox/place.c index f1409be6..bfe27e28 100644 --- a/openbox/place.c +++ b/openbox/place.c @@ -268,7 +268,9 @@ typedef enum } 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)))