diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-10-09 16:34:37 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-10-09 16:34:37 +0000 |
| commit | b9d47c49d6e4272e1cda7cec2c58e925cb610776 (patch) | |
| tree | 224565c2d9a8f4947299055cd87bf80790a32d46 /openbox/client.c | |
| parent | 00f6bbb1ab28cf7503ab089e73361218bf836304 (diff) | |
for dock windows, honor both the above and below states, keeping docks above and below *all* normal windows though (even 'above'/'below' ones). if the dock doesn't specify then it will stack along with normal windows.
Diffstat (limited to 'openbox/client.c')
| -rw-r--r-- | openbox/client.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/client.c b/openbox/client.c index 670e06bb..b3ea0082 100644 --- 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; |
