re-arrange after window move
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user