Tiled: untile when tiling using Kwin's tiling system
This commit is contained in:
1
src/extern.d.ts
vendored
1
src/extern.d.ts
vendored
@@ -8,6 +8,7 @@ declare const options;
|
||||
type AbstractClient = any;
|
||||
type TopLevel = any;
|
||||
type X11Client = any;
|
||||
type Tile = any;
|
||||
type QRect = any;
|
||||
type QSignal = any;
|
||||
type QQmlTimer = any;
|
||||
|
||||
@@ -93,6 +93,14 @@ namespace ClientState {
|
||||
});
|
||||
});
|
||||
|
||||
manager.connect(kwinClient.tileChanged, (tile: Tile) => {
|
||||
if (tile !== null) {
|
||||
world.do((clientManager, desktopManager) => {
|
||||
clientManager.untileClient(kwinClient);
|
||||
})
|
||||
}
|
||||
});
|
||||
|
||||
return manager;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user