mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-13 14:42:29 +02:00

1. Utilize `m_mutex` to safeguard member fields of `hyprland::Workspaces` as they are modified by multiple threads, including the event listener thread and UI thread. This applies to all member fields, not just `m_workspacesToCreate`. 2. Tidy up the create/remove workspace code.