correct behaviors for panel modes

(just missing edge activation)
This commit is contained in:
Marco Martin 2014-02-18 17:26:32 +01:00
parent 456d919326
commit 208e485577

View File

@ -293,8 +293,11 @@ 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();