diff --git a/src/layout/Window.ts b/src/layout/Window.ts index c36cc9b..98b9c8c 100644 --- a/src/layout/Window.ts +++ b/src/layout/Window.ts @@ -109,9 +109,10 @@ class Window { } } - public onProgrammaticResize(oldGeometry: QRect) { + public onFrameGeometryChanged(oldGeometry: QRect) { const newGeometry = this.client.kwinClient.frameGeometry; this.column.setWidth(newGeometry.width, true); + this.column.grid.container.onLayoutChanged(); } public destroy(passFocus: boolean) { diff --git a/src/world/ClientStateTiled.ts b/src/world/ClientStateTiled.ts index 6287fe9..a8fd20f 100644 --- a/src/world/ClientStateTiled.ts +++ b/src/world/ClientStateTiled.ts @@ -86,7 +86,7 @@ class ClientStateTiled { } else { const maximized = rectEqual(kwinClient.frameGeometry, desktop.clientArea); if (!client.isManipulatingGeometry() && !kwinClient.fullScreen && !maximized) { - window.onProgrammaticResize(oldGeometry); + window.onFrameGeometryChanged(oldGeometry); } } });