Skip to content

Commit

Permalink
fix(hyprland): sync monitors on focusedmon
Browse files Browse the repository at this point in the history
  • Loading branch information
Aylur committed Nov 29, 2024
1 parent 12fa0fb commit 7b4d2eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/hyprland/hyprland.vala
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ public class Hyprland : Object {

case "focusedmon":
var argv = args[1].split(",", 2);
yield sync_monitors();
focused_monitor = get_monitor_by_name(argv[0]);
focused_workspace = get_workspace_by_name(argv[1]);
break;
Expand Down

0 comments on commit 7b4d2eb

Please sign in to comment.