diff options
author | Simon Zeni <simon@bl4ckb0ne.ca> | 2022-03-09 16:50:20 -0500 |
---|---|---|
committer | Kirill Primak <vyivel@eclair.cafe> | 2022-03-17 21:52:59 +0300 |
commit | 440d0bc22d57b8b0b21a8acbf127243b8d08cfae (patch) | |
tree | b7988cd9caef571636f775a78c8e39f95b610d0a /sway/commands | |
parent | sway/input/seat: take output name from specialized input device (diff) | |
download | sway-440d0bc22d57b8b0b21a8acbf127243b8d08cfae.tar.gz sway-440d0bc22d57b8b0b21a8acbf127243b8d08cfae.tar.zst sway-440d0bc22d57b8b0b21a8acbf127243b8d08cfae.zip |
sway/input: follow up wlroots input device events renaming
Diffstat (limited to 'sway/commands')
-rw-r--r-- | sway/commands/seat/cursor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands/seat/cursor.c b/sway/commands/seat/cursor.c index 749235eb..504a9f5e 100644 --- a/sway/commands/seat/cursor.c +++ b/sway/commands/seat/cursor.c | |||
@@ -111,8 +111,8 @@ static struct cmd_results *press_or_release(struct sway_cursor *cursor, | |||
111 | : WLR_AXIS_ORIENTATION_HORIZONTAL; | 111 | : WLR_AXIS_ORIENTATION_HORIZONTAL; |
112 | double delta = (button == SWAY_SCROLL_UP || button == SWAY_SCROLL_LEFT) | 112 | double delta = (button == SWAY_SCROLL_UP || button == SWAY_SCROLL_LEFT) |
113 | ? -1 : 1; | 113 | ? -1 : 1; |
114 | struct wlr_event_pointer_axis event = { | 114 | struct wlr_pointer_axis_event event = { |
115 | .device = NULL, | 115 | .pointer = NULL, |
116 | .time_msec = 0, | 116 | .time_msec = 0, |
117 | .source = WLR_AXIS_SOURCE_WHEEL, | 117 | .source = WLR_AXIS_SOURCE_WHEEL, |
118 | .orientation = orientation, | 118 | .orientation = orientation, |