core: Move libinput_event definition to libinput-private.h
authorHans de Goede <hdegoede@redhat.com>
Sun, 28 Sep 2014 11:21:03 +0000 (13:21 +0200)
committerPeter Hutterer <peter.hutterer@who-t.net>
Thu, 6 Nov 2014 05:08:28 +0000 (15:08 +1000)
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/libinput-private.h
src/libinput.c

index c8b65d9..92bd96b 100644 (file)
@@ -151,6 +151,11 @@ struct libinput_device {
        struct libinput_device_config config;
 };
 
+struct libinput_event {
+       enum libinput_event_type type;
+       struct libinput_device *device;
+};
+
 struct libinput_event_listener {
        struct list link;
        void (*notify_func)(uint64_t time, struct libinput_event *ev, void *notify_func_data);
index f55dfad..35262dd 100644 (file)
@@ -42,11 +42,6 @@ struct libinput_source {
        struct list link;
 };
 
-struct libinput_event {
-       enum libinput_event_type type;
-       struct libinput_device *device;
-};
-
 struct libinput_event_device_notify {
        struct libinput_event base;
 };