Skip to content

Commit da45800

Browse files
committed
Fix switched-off Close by rules is not working
1 parent 835cb9f commit da45800

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

closeSession.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ var CloseSession = class {
407407

408408
_getRunningAppsClosingByRules() {
409409
if (!this._settings.get_boolean('enable-close-by-rules')) {
410-
return [[], this._defaultAppSystem.get_running()];
410+
return [this._defaultAppSystem.get_running(), [], []];
411411
}
412412

413413
const closeWindowsRules = this._prefsUtils.getSettingString('close-windows-rules');

0 commit comments

Comments
 (0)