if a dock has the 'below' state set, then it goes in the normal window layer
This commit is contained in:
parent
9ec2da72a5
commit
aef2ab758d
1 changed files with 5 additions and 2 deletions
|
@ -315,9 +315,12 @@ void OBClient::getShaped()
|
|||
|
||||
void OBClient::calcLayer() {
|
||||
if (_iconic) _layer = OBScreen::Layer_Icon;
|
||||
else if (_type == Type_Desktop) _layer = OBScreen::Layer_Desktop;
|
||||
else if (_type == Type_Dock) _layer = OBScreen::Layer_Top;
|
||||
else if (_fullscreen) _layer = OBScreen::Layer_Fullscreen;
|
||||
else if (_type == Type_Desktop) _layer = OBScreen::Layer_Desktop;
|
||||
else if (_type == Type_Dock) {
|
||||
if (!_below) _layer = OBScreen::Layer_Top;
|
||||
else _layer = OBScreen::Layer_Normal;
|
||||
}
|
||||
else if (_above) _layer = OBScreen::Layer_Above;
|
||||
else if (_below) _layer = OBScreen::Layer_Below;
|
||||
else _layer = OBScreen::Layer_Normal;
|
||||
|
|
Loading…
Reference in a new issue