correct behaviors for panel modes
(just missing edge activation)
This commit is contained in:
parent
456d919326
commit
208e485577
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user