summarylogtreecommitdiffstats
path: root/wayland.patch
diff options
context:
space:
mode:
Diffstat (limited to 'wayland.patch')
-rw-r--r--wayland.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/wayland.patch b/wayland.patch
new file mode 100644
index 000000000000..2f88892233f8
--- /dev/null
+++ b/wayland.patch
@@ -0,0 +1,22 @@
+diff --git a/src/display/device/display_wayland.cpp b/src/display/device/display_wayland.cpp
+index 455cb66..5d3a234 100755
+--- a/src/display/device/display_wayland.cpp
++++ b/src/display/device/display_wayland.cpp
+@@ -582,13 +582,13 @@ static void pointer_handle_axis(void *data, struct wl_pointer */*wl_pointer*/, u
+ }
+ }
+
+-//static void pointer_handle_frame(void */*data*/, struct wl_pointer */*wl_pointer*/) { }
++static void pointer_handle_frame(void *data, struct wl_pointer *wl_pointer) { }
+
+-//static void pointer_handle_axis_source(void */*data*/, struct wl_pointer */*wl_pointer*/, uint32_t /*axis_source*/) { }
++static void pointer_handle_axis_source(void *data, struct wl_pointer *wl_pointer, uint32_t /*axis_source*/) { }
+
+-//static void pointer_handle_axis_stop(void */*data*/, struct wl_pointer */*wl_pointer*/, uint32_t /*time*/, uint32_t /*axis*/) { }
++static void pointer_handle_axis_stop(void *data, struct wl_pointer *wl_pointer, uint32_t /*time*/, uint32_t /*axis*/) { }
+
+-//static void pointer_handle_axis_discrete(void */*data*/, struct wl_pointer */*wl_pointer*/, uint32_t /*axis*/, int32_t /*discrete*/) { }
++static void pointer_handle_axis_discrete(void *data, struct wl_pointer *wl_pointer, uint32_t /*axis*/, int32_t /*discrete*/) { }
+
+ static const struct wl_pointer_listener pointer_listener = {
+ pointer_handle_enter,