refresh workspaces on createworkspace event #321

This commit is contained in:
piotr 2024-10-03 17:22:51 +02:00
parent 4852c8fa5e
commit d4598c8843

View File

@ -193,7 +193,7 @@ def hypr_watcher():
last_client_addr = client_addr
continue
if event_name == "focusedmon":
if event_name in ["focusedmon", "createworkspace"]:
monitors, workspaces, clients, activewindow, activeworkspace = h_modules_get_all()
for item in common.h_workspaces_list:
GLib.timeout_add(0, item.refresh, monitors, workspaces, clients, activewindow, activeworkspace)