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) {
|
if (mode == LetWindowsCover) {
|
||||||
KWindowSystem::setState(winId(), NET::KeepBelow);
|
KWindowSystem::setState(winId(), NET::KeepBelow);
|
||||||
|
KWindowSystem::clearState(winId(), NET::KeepAbove|NET::StaysOnTop);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
KWindowSystem::clearState(winId(), NET::KeepBelow);
|
KWindowSystem::clearState(winId(), NET::KeepBelow);
|
||||||
|
KWindowSystem::setState(winId(), NET::KeepAbove|NET::StaysOnTop);
|
||||||
}
|
}
|
||||||
//life is vastly simpler if we ensure we're visible now
|
//life is vastly simpler if we ensure we're visible now
|
||||||
show();
|
show();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user