]> 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 bfe27e28778e9b091ebe1d545f4f3e1e4ba6abfa..ea131bea3e1e73de60d99e05633436f144c77c4f 100644 (file)
@@ -270,7 +270,8 @@ typedef enum
 #define SMART_IGNORE(placer, c) \
     (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->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.022023 seconds and 4 git commands to generate.