]> Dogcows Code - chaz/openbox/commitdiff
ignore non-visible windows too
authorDana Jansens <danakj@orodu.net>
Mon, 22 Sep 2003 05:38:44 +0000 (05:38 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 22 Sep 2003 05:38:44 +0000 (05:38 +0000)
openbox/place.c

index 967b32d380b949dc6461c5da9850e87608eed960..3edb82c9b4681419bb89c3faf39bedb2332800f5 100644 (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,
This page took 0.023951 seconds and 4 git commands to generate.