Skip to content

Commit

Permalink
fix: issue #28 - windomax bar for window monitor shift
Browse files Browse the repository at this point in the history
  • Loading branch information
neuromorph committed Apr 8, 2024
1 parent 52797e6 commit 24701ce
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -887,7 +887,9 @@ export default class Openbar extends Extension {
[ Main.sessionMode, 'updated', this.updatePanelStyle.bind(this) ],
[ Main.layoutManager, 'monitors-changed', this.updatePanelStyle.bind(this) ],
[ Main.messageTray._bannerBin, this.addedSignal, this.updatePanelStyle.bind(this), 'message-banner' ],
[ global.display, 'in-fullscreen-changed', this.onFullScreen.bind(this), 100 ],
[ global.display, 'in-fullscreen-changed', this.onFullScreen.bind(this), 50 ],
[ global.display, 'window-entered-monitor', this.setWindowMaxBar.bind(this), 'window-entered-monitor' ],
[ global.display, 'window-left-monitor', this.setWindowMaxBar.bind(this), 'window-left-monitor' ],
];
// Connections for actor-added/removed OR child-added/removed as per Gnome version
const panelBoxes = [panel._leftBox, panel._centerBox, panel._rightBox];
Expand Down

0 comments on commit 24701ce

Please sign in to comment.