forked from external/yambar
particle/on-click: support next/previous buttons
This commit is contained in:
parent
8d5deda4e4
commit
6ed576c719
7 changed files with 22 additions and 0 deletions
|
@ -165,6 +165,8 @@ exposable_default_on_mouse(struct exposable *exposable, struct bar *bar,
|
|||
[MOUSE_BTN_COUNT] = "count",
|
||||
[MOUSE_BTN_WHEEL_UP] = "wheel-up",
|
||||
[MOUSE_BTN_WHEEL_DOWN] = "wheel-down",
|
||||
[MOUSE_BTN_PREVIOUS] = "previous",
|
||||
[MOUSE_BTN_NEXT] = "next",
|
||||
};
|
||||
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