summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openbox/place.c4
1 files changed, 3 insertions, 1 deletions
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)))