Skip to content

Commit

Permalink
ShellClients: Fix infinite loop on hide mode NEVER
Browse files Browse the repository at this point in the history
  • Loading branch information
leolost2605 committed Jan 8, 2025
1 parent 0d8893a commit 18a2381
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ShellClients/PanelWindow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ public class Gala.PanelWindow : Object {
workspace_manager.workspace_added.connect (update_strut);
workspace_manager.workspace_removed.connect (update_strut);

window_positioner = new WindowPositioner (display, window, WindowPositioner.Position.from_anchor (anchor));

window.size_changed.connect (update_strut);
window.position_changed.connect (update_strut);

window_positioner = new WindowPositioner (display, window, WindowPositioner.Position.from_anchor (anchor));

notify["anchor"].connect (() => window_positioner.position = WindowPositioner.Position.from_anchor (anchor));
}

Expand Down

0 comments on commit 18a2381

Please sign in to comment.