summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAylur <[email protected]>2024-11-24 20:23:59 +0000
committerAylur <[email protected]>2024-11-24 20:23:59 +0000
commitac304ef346be220dd5c5d3c818c8151bdb78d730 (patch)
treeaa05bd89b5e9e21ca0b27895761bdd939691d552 /lib
parent3f554403ff92d6603ff04d13f26a71aba41375df (diff)
fix(hyprland): sync monitors on activeworkspace
close #130
Diffstat (limited to 'lib')
-rw-r--r--lib/hyprland/hyprland.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/hyprland/hyprland.vala b/lib/hyprland/hyprland.vala
index 663eb19..803380d 100644
--- a/lib/hyprland/hyprland.vala
+++ b/lib/hyprland/hyprland.vala
@@ -309,6 +309,7 @@ public class Hyprland : Object {
switch (args[0]) {
case "workspacev2":
yield sync_workspaces();
+ yield sync_monitors();
focused_workspace = get_workspace(int.parse(args[1]));
break;