]> Dogcows Code - chaz/openbox/commitdiff
don't place windows over docks. but let them place over menus and toolbars. i guess...
authorDana Jansens <danakj@orodu.net>
Mon, 4 Jun 2007 19:02:04 +0000 (19:02 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 4 Jun 2007 19:02:04 +0000 (19:02 +0000)
openbox/place.c

index f1409be606b5bc20cc0f71dbecda73ffbc96b43a..bfe27e28778e9b091ebe1d545f4f3e1e4ba6abfa 100644 (file)
@@ -268,7 +268,9 @@ 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 || \
      (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.