summaryrefslogtreecommitdiff
path: root/src/wayland/meta-wayland-input-device.h
diff options
context:
space:
mode:
authorJonas Ådahl <jadahl@gmail.com>2016-10-11 22:29:11 +0800
committerJonas Ådahl <jadahl@gmail.com>2016-10-11 22:51:50 +0800
commitc6106f90d4e7cc9a52cea8b9baae99e3367079a7 (patch)
treedb15cfa7a3a2a044a7e0ec37a21ad19074b52901 /src/wayland/meta-wayland-input-device.h
parented52e1788668abe771653093e0f642f876ef5fbf (diff)
downloadmutter-c6106f90d4e7cc9a52cea8b9baae99e3367079a7.tar.gz
wayland/input-device: Add next serial helper
Add a helper function for getting the next input device serial number. Will be used by keyboard, pointer and touch devices. https://bugzilla.gnome.org/show_bug.cgi?id=771646
Diffstat (limited to 'src/wayland/meta-wayland-input-device.h')
-rw-r--r--src/wayland/meta-wayland-input-device.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wayland/meta-wayland-input-device.h b/src/wayland/meta-wayland-input-device.h
index eec56783c..c6a6c3d38 100644
--- a/src/wayland/meta-wayland-input-device.h
+++ b/src/wayland/meta-wayland-input-device.h
@@ -26,6 +26,7 @@
#define META_WAYLAND_INPUT_DEVICE_H
#include <glib-object.h>
+#include <stdint.h>
#include "wayland/meta-wayland-types.h"
@@ -42,4 +43,6 @@ struct _MetaWaylandInputDeviceClass
MetaWaylandSeat * meta_wayland_input_device_get_seat (MetaWaylandInputDevice *input_device);
+uint32_t meta_wayland_input_device_next_serial (MetaWaylandInputDevice *input_device);
+
#endif /* META_WAYLAND_INPUT_DEVICE_H */