mirror of
https://github.com/labwc/labwc.git
synced 2026-02-15 22:05:25 -05:00
input: move <scrollFactor> to <libinput> section
This allows per-device configuration of scroll factor (e.g. setting different scroll factors for mice and touchpads).
This commit is contained in:
parent
228a74ca48
commit
b667107d1a
9 changed files with 45 additions and 10 deletions
|
|
@ -71,6 +71,8 @@ enum input_mode {
|
|||
struct input {
|
||||
struct wlr_input_device *wlr_input_device;
|
||||
struct seat *seat;
|
||||
/* Set for pointer/touch devices */
|
||||
double scroll_factor;
|
||||
struct wl_listener destroy;
|
||||
struct wl_list link; /* seat.inputs */
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue