diff --git a/src/shell/panelview.cpp b/src/shell/panelview.cpp index 2158dc6a5..c96bb6782 100644 --- a/src/shell/panelview.cpp +++ b/src/shell/panelview.cpp @@ -644,7 +644,7 @@ void PanelView::updateStruts() if (m_visibilityMode == NormalPanel) { const QRect thisScreen = corona()->screenGeometry(containment()->screen()); - const QRect wholeScreen = screen()->availableGeometry(); + const QRect wholeScreen = screen()->virtualGeometry(); //Extended struts against a screen edge near to another screen are really harmful, so windows maximized under the panel is a lesser pain //TODO: force "windows can cover" in those cases?