From 27eb1a773609fe472d17611c7886c0da04e88d4d Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 22 Sep 2003 05:38:44 +0000 Subject: [PATCH] ignore non-visible windows too --- openbox/place.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/openbox/place.c b/openbox/place.c index 967b32d3..3edb82c9 100644 --- a/openbox/place.c +++ b/openbox/place.c @@ -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, -- 2.45.2