mirror of
https://github.com/swaywm/sway.git
synced 2026-03-23 05:35:26 -04:00
sway/input: follow up wlroots input device events renaming
This commit is contained in:
parent
49b3ac9a2c
commit
440d0bc22d
10 changed files with 77 additions and 73 deletions
|
|
@ -111,8 +111,8 @@ static struct cmd_results *press_or_release(struct sway_cursor *cursor,
|
|||
: WLR_AXIS_ORIENTATION_HORIZONTAL;
|
||||
double delta = (button == SWAY_SCROLL_UP || button == SWAY_SCROLL_LEFT)
|
||||
? -1 : 1;
|
||||
struct wlr_event_pointer_axis event = {
|
||||
.device = NULL,
|
||||
struct wlr_pointer_axis_event event = {
|
||||
.pointer = NULL,
|
||||
.time_msec = 0,
|
||||
.source = WLR_AXIS_SOURCE_WHEEL,
|
||||
.orientation = orientation,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue