System freezes for a few seconds on first workspace switch via mouse click in hyprland/workspaces
Author: time-slayerCreated Aug 31, 2026Updated Sep 13, 2026
Labelsbughyprlandcustomclock
Describe the bug
When clicking on a workspace in the hyprland/workspaces module for the first time after starting Waybar, the system freezes for a few seconds. After this initial freeze, all subsequent workspace switches using the mouse cursor work perfectly without any lag. The bug returns whenever Waybar is restarted.
To reproduce
- Start waybar
- Have multiple workspaces active in Hyprland.
- Click on a different workspace in Waybar using your mouse.
- Observe the temporary freeze.
{
"modules-center": ["hyprland/workspaces"]
}Expected behaviour The workspace should switch instantly upon clicking, without causing system to freeze.
Environment
- Waybar v0.15.0-1004-g6d60c8e0 (branch 'master')
- AUR
waybar-git - Hyprland 0.56.2
Source: Alexays/Waybar