summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAylur <[email protected]>2024-09-26 14:11:29 +0200
committerAylur <[email protected]>2024-09-26 14:11:36 +0200
commitc68d116e409c734f3b875cf94b3fe10690e0f9ce (patch)
tree835525125fa2937a2b1a28f416833c873c05987a /lib
parent36e810d4f452c352caa6303d877f47047c701fe7 (diff)
fix #20: hyprland sync workspaces on focused_workspace
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 5359d2e..3886486 100644
--- a/lib/hyprland/hyprland.vala
+++ b/lib/hyprland/hyprland.vala
@@ -308,6 +308,7 @@ public class Hyprland : Object {
switch (args[0]) {
case "workspacev2":
+ yield sync_workspaces();
focused_workspace = get_workspace(int.parse(args[1]));
break;