summaryrefslogtreecommitdiff
path: root/openbox/client.c
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2005-02-06 16:00:24 +0000
committerMikael Magnusson <mikachu@comhem.se>2005-02-06 16:00:24 +0000
commite74fbdaa0e8ee61b747b4efb4f66ae3992af925c (patch)
tree03d336a13a2ae59f6a4951c599b4d1e0170fee68 /openbox/client.c
parentac416fd27e5e620aa833f7a140febf7a1d46abf3 (diff)
revert a commit xor made in 2003 that always annoyed me, now docks (panels) go in the same layers as normal windows again. docks that dont specify layer go in the ABOVE layer and those that specify BELOW get put in the NORMAL layer.
Diffstat (limited to 'openbox/client.c')
-rw-r--r--openbox/client.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/openbox/client.c b/openbox/client.c
index 6aec7b29..eaf6907a 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -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;