ignore non-visible windows too

This commit is contained in:
Dana Jansens 2003-09-22 05:38:44 +00:00
parent 74f36c587c
commit 27eb1a7736

View file

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