Commit 5b010aa1 authored by Xaver Hugl's avatar Xaver Hugl Committed by David Edmundson
Browse files

Also call requestHideAutoHidingPanel for panels set to "windows can cover", so...

Also call requestHideAutoHidingPanel for panels set to "windows can cover", so that the screen edge gets recreated for it
parent 77357af0
......@@ -746,11 +746,12 @@ void PanelView::setAutoHideEnabled(bool enabled)
KWindowEffects::slideWindow(winId(), slideLocation, -1);
}
#endif
if (m_shellSurface && m_visibilityMode == PanelView::AutoHide) {
if (m_shellSurface && (m_visibilityMode == PanelView::AutoHide || m_visibilityMode == PanelView::LetWindowsCover)) {
if (enabled) {
m_shellSurface->requestHideAutoHidingPanel();
} else {
m_shellSurface->requestShowAutoHidingPanel();
if (m_visibilityMode == PanelView::AutoHide)
m_shellSurface->requestShowAutoHidingPanel();
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment