From 50107eca3fc1148eadb62db5a01a2f9acb6aeb7d Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Sun, 28 Sep 2014 13:21:03 +0200 Subject: [PATCH] core: Move libinput_event definition to libinput-private.h Signed-off-by: Hans de Goede Reviewed-by: Peter Hutterer Signed-off-by: Peter Hutterer --- src/libinput-private.h | 5 +++++ src/libinput.c | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/libinput-private.h b/src/libinput-private.h index c8b65d9..92bd96b 100644 --- a/src/libinput-private.h +++ b/src/libinput-private.h @@ -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); diff --git a/src/libinput.c b/src/libinput.c index f55dfad..35262dd 100644 --- a/src/libinput.c +++ b/src/libinput.c @@ -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; }; -- 2.7.4