Paste P603

Masterwork From Distant Lands
ActivePublic

Authored by davidedmundson on Jun 3 2020, 8:37 PM.
diff --git a/xdgshellclient.cpp b/xdgshellclient.cpp
index 0ea08021c..98e14c48a 100644
--- a/xdgshellclient.cpp
+++ b/xdgshellclient.cpp
@@ -1527,6 +1527,10 @@ void XdgToplevelClient::updateShowOnScreenEdge()
ScreenEdges::self()->reserve(this, ElectricNone);
return;
}
+
+ disconnect(this, &XdgToplevelClient::windowShown,
+ this, &XdgToplevelClient::updateShowOnScreenEdge);
+
const PlasmaShellSurfaceInterface::PanelBehavior panelBehavior = m_plasmaShellSurface->panelBehavior();
if ((panelBehavior == PlasmaShellSurfaceInterface::PanelBehavior::AutoHide && isHidden()) ||
panelBehavior == PlasmaShellSurfaceInterface::PanelBehavior::WindowsCanCover) {
davidedmundson edited the content of this paste. (Show Details)Jun 3 2020, 8:37 PM
davidedmundson changed the title of this paste from untitled to Masterwork From Distant Lands.