don't place windows over docks. but let them place over menus and toolbars. i guess not utility windows though?

This commit is contained in:
Dana Jansens 2007-06-04 19:02:04 +00:00
parent 51626b787d
commit 0a5ac0c8ef

View file

@ -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)))