don't set keepabove

the dock windows are in their own layer, keep above gives them a weird behavior
This commit is contained in:
Marco Martin 2014-02-25 15:55:59 +01:00
parent 6ab569e85e
commit dd75385313

View File

@ -310,11 +310,8 @@ void PanelView::setVisibilityMode(PanelView::VisibilityMode mode)
if (mode == LetWindowsCover) {
KWindowSystem::setState(winId(), NET::KeepBelow);
KWindowSystem::clearState(winId(), NET::KeepAbove|NET::StaysOnTop);
} else {
KWindowSystem::clearState(winId(), NET::KeepBelow);
KWindowSystem::setState(winId(), NET::KeepAbove|NET::StaysOnTop);
}
//life is vastly simpler if we ensure we're visible now
show();