ITADN

[hyprbars] Input is broken, no clicks are registered

#631Closedkhalid151 创建于 2026-03-16
K
khalid151commented
Mouse input doesn't work. https://github.com/hyprwm/hyprland-plugins/blob/b85a56b9531013c79f2f3846fd6ee2ff014b8960/hyprbars/barDeco.cpp#L113-L123 Apparently, `e.state` isn't `WL_POINTER_BUTTON_STATE_PRESSED` or `WL_POINTER_BUTTON_STATE_RELEASED`. So, `handleDownEvent` is never called. Similarly, changing the button release check to `if (e.state == WL_POINTER_BUTTON_STATE_RELEASED) {`, results in `handleUpEvent` to be never called.
关闭于 2026-03-18 1 条评论