filter out special clients in driver

This commit is contained in:
Eon S. Jeon 2018-11-10 00:50:52 +09:00
parent 69c3fd5c18
commit 38094b2861
2 changed files with 2 additions and 7 deletions

View File

@ -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);

View File

@ -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) => {