Skip to content

Commit

Permalink
Reposition windows on monitor change
Browse files Browse the repository at this point in the history
  • Loading branch information
leolost2605 authored and tintou committed May 29, 2024
1 parent dceda4a commit 66616d2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ShellClients/PanelWindow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ public class Gala.PanelWindow : Object {
window.stick ();

clone = new PanelClone (wm, this);

var monitor_manager = wm.get_display ().get_context ().get_backend ().get_monitor_manager ();
monitor_manager.monitors_changed.connect (() => update_anchor (anchor));
}

#if HAS_MUTTER46
Expand Down

0 comments on commit 66616d2

Please sign in to comment.