From b65477621f0438b0ed6c405f74c9d15e8fb57e96 Mon Sep 17 00:00:00 2001
From: choc <notchoc@disroot.org>
Date: Mon, 29 Jul 2024 21:26:06 +0800
Subject: [PATCH] ipc: focus set_tag'd output

---
 dwl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dwl.c b/dwl.c
index 4a025f0..dcbb063 100644
--- a/dwl.c
+++ b/dwl.c
@@ -1533,6 +1533,7 @@ dwl_ipc_output_set_tags(struct wl_client *client, struct wl_resource *resource,
 	if (!ipc_output)
 		return;
 	monitor = ipc_output->mon;
+	selmon = monitor;
 
 	if (!newtags || newtags == monitor->tagset[monitor->seltags])
 		return;
-- 
2.43.0

