mirror of
https://github.com/Bismuth-Forge/bismuth.git
synced 2024-11-04 13:37:43 +03:00
filter out special clients in driver
This commit is contained in:
parent
69c3fd5c18
commit
38094b2861
@ -79,8 +79,8 @@ class KWinDriver
|
||||
|
||||
private onClientAdded = (client: KWin.Client) =>
|
||||
{
|
||||
if(client.resourceClass == 'plasmashell')
|
||||
return;
|
||||
if(client.resourceClass == 'plasmashell') return;
|
||||
if(client.specialWindow) return;
|
||||
|
||||
// TODO: check resourceClasses for some windows
|
||||
this.engine.manageClient(client);
|
||||
|
@ -149,13 +149,8 @@ class TilingEngine
|
||||
}
|
||||
|
||||
public manageClient = (client: KWin.Client) => {
|
||||
// TODO: move this to KWinDriver
|
||||
if(client.specialWindow)
|
||||
return false;
|
||||
|
||||
this.tiles.push(new Tile(client));
|
||||
this.arrange();
|
||||
return true;
|
||||
}
|
||||
|
||||
public unmanageClient = (client: KWin.Client) => {
|
||||
|
Loading…
Reference in New Issue
Block a user