mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-16 08:15:40 +02:00
config+particle: add support for mouse wheel up/down
This commit is contained in:
parent
c79ffbe057
commit
34d832cd22
4 changed files with 10 additions and 0 deletions
|
@ -161,6 +161,8 @@ exposable_default_on_mouse(struct exposable *exposable, struct bar *bar,
|
|||
[MOUSE_BTN_MIDDLE] = "middle",
|
||||
[MOUSE_BTN_RIGHT] = "right",
|
||||
[MOUSE_BTN_COUNT] = "count",
|
||||
[MOUSE_BTN_WHEEL_UP] = "wheel-up",
|
||||
[MOUSE_BTN_WHEEL_DOWN] = "wheel-down",
|
||||
};
|
||||
LOG_DBG("on_mouse: exposable=%p, event=%s, btn=%s, x=%d, y=%d (on-click=%s)",
|
||||
exposable, event == ON_MOUSE_MOTION ? "motion" : "click",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue