mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-08 07:33:53 +01:00
fix ratbag_button_get_special
looks like a cpy-paste-o Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
This commit is contained in:
@@ -1004,7 +1004,7 @@ ratbag_button_get_special(struct ratbag_button *button)
|
||||
if (button->action.type != RATBAG_BUTTON_ACTION_TYPE_SPECIAL)
|
||||
return 0;
|
||||
|
||||
return button->action.action.button;
|
||||
return button->action.action.special;
|
||||
}
|
||||
|
||||
LIBRATBAG_EXPORT int
|
||||
|
||||
Reference in New Issue
Block a user