diff options
author | William McKinnon <[email protected]> | 2022-04-27 17:33:23 -0400 |
---|---|---|
committer | William McKinnon <[email protected]> | 2022-04-27 17:33:23 -0400 |
commit | 7460d9f565092836f81b917a040caff57142d91a (patch) | |
tree | b76e7facef2aaa5925a62ad6b9995c16663313f0 /sway/commands/seat/cursor.c | |
parent | c37aba2736e31264bdcd52147a96fa85e17c8c5f (diff) |
merge sway master
Diffstat (limited to 'sway/commands/seat/cursor.c')
-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, : 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, |