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:
parent
51626b787d
commit
0a5ac0c8ef
1 changed files with 3 additions and 1 deletions
|
@ -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)))
|
||||
|
|
Loading…
Reference in a new issue