Waybar icon indicating copy to clipboard operation
Waybar copied to clipboard

Hyprland with on-click causes weird behavior

Open SeanMcnabb opened this issue 1 year ago • 28 comments

I have a custom module that launches rofi when clicked. In sway it works normally but causes some weird problems in Hyprland. After clicking on the module, it will show rofi normally, but if you click anywhere on waybar after that, it will act as if you clicked the module again and either show rofi again, or attempt to. It will stop if you right click the waybar before clicking it again. It doesn't happen with every application. For instance, I was able to get this to happen when launching rofi or kwrite, but launching wofi or alacritty, the behavior is as expected.

My workaround for now is to launch rofi with gamemoderun which prevents this from happening.

SeanMcnabb avatar Nov 29 '22 17:11 SeanMcnabb