aboutsummaryrefslogtreecommitdiffstats
path: root/swaybar/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'swaybar/input.c')
-rw-r--r--swaybar/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/swaybar/input.c b/swaybar/input.c
index f8f0672e..358c69cb 100644
--- a/swaybar/input.c
+++ b/swaybar/input.c
@@ -207,7 +207,7 @@ static void workspace_next(struct swaybar *bar, struct swaybar_output *output,
207 } 207 }
208 } 208 }
209 209
210 if (new) { 210 if (new && new != active) {
211 ipc_send_workspace_command(bar, new->name); 211 ipc_send_workspace_command(bar, new->name);
212 212
213 // Since we're asking Sway to switch to 'new', it should become visible. 213 // Since we're asking Sway to switch to 'new', it should become visible.