]> Dogcows Code - chaz/openbox/blobdiff - openbox/place.c
allow focus to fallback to omnipresent windows, except during desktop switching which...
[chaz/openbox] / openbox / place.c
index f1409be606b5bc20cc0f71dbecda73ffbc96b43a..ea131bea3e1e73de60d99e05633436f144c77c4f 100644 (file)
@@ -268,7 +268,10 @@ 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) &&\
+      client_has_parent(c)) || \
      (c->desktop != DESKTOP_ALL && \
       c->desktop != (placer->desktop == DESKTOP_ALL ? \
                      screen_desktop : placer->desktop)))
This page took 0.024966 seconds and 4 git commands to generate.