Skip to content

Commit

Permalink
remove unused KWinContex.includes
Browse files Browse the repository at this point in the history
  • Loading branch information
esjeon committed Mar 12, 2019
1 parent b6aa0ad commit c9e7611
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/driver/kwin/kwincontext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,6 @@ class KWinContext implements IDriverContext {
this._path = null;
}

public includes(client: KWin.Client) {
return (
(client.desktop === this.desktop
|| client.desktop === -1 /* on all desktop */)
&& (client.activities.length === 0 /* on all activities */
|| client.activities.indexOf(this.activity) !== -1)
&& (client.screen === this.screen)
);
}

public toString(): string {
return "KWinCtx(" + [this.screen, activityInfo.activityName(this.activity), this.desktop].join(", ") + ")";
}
Expand Down

0 comments on commit c9e7611

Please sign in to comment.