Skip to content
Snippets Groups Projects
Commit 19bd8d27 authored by Alexandre Janniaux's avatar Alexandre Janniaux Committed by Steve Lhomme
Browse files

wayland: input: init axis_value120 to NULL

Fixes a missing initializer warning for axis_value120. We currently
enforce version = 5 for the wl_seat version, and it's available starting
with wl_pointer version 8, which means that we don't need to set a
function handler for now.
parent d143d265
No related branches found
No related tags found
1 merge request!2438wayland: fix warnings with more recent protocol version
......@@ -206,6 +206,9 @@ static const struct wl_pointer_listener pointer_cbs =
pointer_axis_source,
pointer_axis_stop,
pointer_axis_discrete,
#ifdef WL_POINTER_AXIS_VALUE120_SINCE_VERSION
NULL, /* We don't support axis_value120 for now */
#endif
};
static void pointer_create(struct seat_data *sd)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment