ignore non-visible windows too
This commit is contained in:
parent
74f36c587c
commit
27eb1a7736
1 changed files with 4 additions and 4 deletions
|
@ -193,10 +193,10 @@ typedef enum
|
|||
SMART_FOCUSED
|
||||
} ObSmartType;
|
||||
|
||||
#define SMART_IGNORE(placer, c) \
|
||||
(placer == c || c->shaded || !client_normal(c) || \
|
||||
(c->desktop != DESKTOP_ALL && \
|
||||
c->desktop != (placer->desktop == DESKTOP_ALL ? \
|
||||
#define SMART_IGNORE(placer, c) \
|
||||
(placer == c || !c->visible || c->shaded || !client_normal(c) || \
|
||||
(c->desktop != DESKTOP_ALL && \
|
||||
c->desktop != (placer->desktop == DESKTOP_ALL ? \
|
||||
screen_desktop : placer->desktop)))
|
||||
|
||||
static gboolean place_smart(ObClient *client, gint *x, gint *y,
|
||||
|
|
Loading…
Reference in a new issue