]> Dogcows Code - chaz/openbox/blobdiff - openbox/place.c
give actions a ref count
[chaz/openbox] / openbox / place.c
index 967b32d380b949dc6461c5da9850e87608eed960..e92ba632458ad701beb00409ed043acb73f57533 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->frame->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.020654 seconds and 4 git commands to generate.