Skip to content

Commit

Permalink
Persist primary monitor settings on monitors change
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesg99 committed Apr 6, 2022
1 parent 774403f commit 6697819
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions panelManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ var PanelManager = class {

Main.layoutManager.monitors.filter(m => m.index != primaryIndex).forEach(m => monitors.push(m.index));
Me.settings.set_value('available-monitors', new GLib.Variant('ai', monitors));
Me.settings.set_int('primary-monitor', primaryIndex);
}

checkIfFocusedMonitor(monitor) {
Expand Down

0 comments on commit 6697819

Please sign in to comment.