mirror of
https://github.com/Bismuth-Forge/bismuth.git
synced 2024-10-05 12:37:47 +03:00
fix(kwinscript): arrange after an activity/desktop change
without this fix, restarting kwin and then switching desktops leaves the windows on the new desktop untiled until something else triggers an arrange
This commit is contained in:
parent
8d3b5b1b10
commit
c70285705b
@ -222,6 +222,14 @@ export class DriverImpl implements Driver {
|
||||
"unminimized"
|
||||
);
|
||||
|
||||
this.connect(this.kwinApi.workspace.currentActivityChanged, () =>
|
||||
this.controller.onCurrentSurfaceChanged()
|
||||
);
|
||||
|
||||
this.connect(this.kwinApi.workspace.currentDesktopChanged, () =>
|
||||
this.controller.onCurrentSurfaceChanged()
|
||||
);
|
||||
|
||||
this.connect(this.kwinApi.workspace.clientAdded, onClientAdded);
|
||||
this.connect(this.kwinApi.workspace.clientRemoved, onClientRemoved);
|
||||
this.connect(this.kwinApi.workspace.clientMaximizeSet, onClientMaximizeSet);
|
||||
|
Loading…
Reference in New Issue
Block a user