]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.c
revert a commit xor made in 2003 that always annoyed me, now docks (panels) go in...
[chaz/openbox] / openbox / client.c
index 6aec7b295254b730732829ed2e4ab0b390af2307..eaf6907aab304182d5663d9477ae66ebffecb56d 100644 (file)
@@ -1795,9 +1795,8 @@ static ObStackingLayer calc_layer(ObClient *self)
     else if (self->type == OB_CLIENT_TYPE_DESKTOP)
         l = OB_STACKING_LAYER_DESKTOP;
     else if (self->type == OB_CLIENT_TYPE_DOCK) {
-        if (self->above) l = OB_STACKING_LAYER_DOCK_ABOVE;
-        else if (self->below) l = OB_STACKING_LAYER_DOCK_BELOW;
-        else l = OB_STACKING_LAYER_DOCK_NORMAL;
+        if (self->below) l = OB_STACKING_LAYER_NORMAL;
+        else l = OB_STACKING_LAYER_ABOVE;
     }
     else if (self->above) l = OB_STACKING_LAYER_ABOVE;
     else if (self->below) l = OB_STACKING_LAYER_BELOW;
This page took 0.022611 seconds and 4 git commands to generate.