projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00f6bbb
)
for dock windows, honor both the above and below states, keeping docks above and...
author
Dana Jansens
<danakj@orodu.net>
Thu, 9 Oct 2003 16:34:37 +0000
(16:34 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Thu, 9 Oct 2003 16:34:37 +0000
(16:34 +0000)
openbox/client.c
patch
|
blob
|
history
diff --git
a/openbox/client.c
b/openbox/client.c
index
670e06b
..
b3ea008
100644
(file)
--- a/
openbox/client.c
+++ b/
openbox/client.c
@@
-1697,7
+1697,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->below) l = OB_STACKING_LAYER_TOP;
+ if (self->above) l = OB_STACKING_LAYER_DOCK_ABOVE;
+ else if (self->below) l = OB_STACKING_LAYER_DOCK_BELOW;
else l = OB_STACKING_LAYER_NORMAL;
}
else if (self->above) l = OB_STACKING_LAYER_ABOVE;