Skip to content

Commit

Permalink
Merge pull request #22 from sauntor/master
Browse files Browse the repository at this point in the history
Fix blockWMClass checking
  • Loading branch information
Aetf authored Jul 18, 2023
2 parents 495ef3b + 9ab963f commit 199342a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions contents/code/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ State.prototype.isSkippedClient = function (client) {
if (GlobalSkippedClients.indexOf(resourceClass) != -1) {
return true;
}
var idx = this.cachedConfig.blockWMClass.indexOf();
var idx = this.cachedConfig.blockWMClass.indexOf(resourceClass);
return idx != -1;
}

Expand Down Expand Up @@ -213,7 +213,6 @@ function Main() {
// log('not maximized, skip');
}
log('handle added done');
//if (!(!isMaximized || state.isSkippedClient(client) || state.isSkippedName(client))) {main.moveToNewDesktop(client);};
},

closed: function(client) {
Expand Down

0 comments on commit 199342a

Please sign in to comment.