Commit f7a1a5dd authored by Marco Martin's avatar Marco Martin
Browse files

Prevent panel going out of screen boundaries

On multiscreen (seems to happen only on X11 so far) when screen are
added and moved, sometimes the panel gets moved by the window manager
ending up out of screen boundaries, leaving  a screen without  panel
a common scenario is:
laptop with external screen connected, panel on internal screen,
close the lid, everything gets moved to the external screen,
the panel  will stay out of screen boundaries, but the panel struts are correct

parent f476c182
Pipeline #141092 passed with stage
in 15 minutes and 4 seconds
......@@ -801,6 +801,9 @@ void PanelView::moveEvent(QMoveEvent *ev)
if (!m_screenToFollow->geometry().contains(geometry())) {
void PanelView::integrateScreen()
Supports Markdown
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