Paste P415

Masterwork From Distant Lands
ActivePublic

Authored by davidedmundson on Jun 21 2019, 5:40 PM.
diff --git a/src/plugins/shellintegration/xdg-shell/qwaylandxdgshell.cpp b/src/plugins/shellintegration/xdg-shell/qwaylandxdgshell.cpp
index f5529813..2bc1e1c4 100644
--- a/src/plugins/shellintegration/xdg-shell/qwaylandxdgshell.cpp
+++ b/src/plugins/shellintegration/xdg-shell/qwaylandxdgshell.cpp
@@ -330,6 +330,10 @@ void QWaylandXdgSurface::applyConfigure()
if (m_toplevel)
m_toplevel->applyConfigure();
+ else {
+ QSize normalSize = m_window->window()->frameGeometry().size();
+ m_window->resizeFromApplyConfigure(m_normalSize);
+ }
m_configured = true;
ack_configure(m_pendingConfigureSerial);
davidedmundson edited the content of this paste. (Show Details)Jun 21 2019, 5:40 PM
davidedmundson changed the title of this paste from untitled to Masterwork From Distant Lands.