summaryrefslogtreecommitdiff
path: root/tools/shared.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2014-12-23 11:13:33 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2014-12-23 11:14:39 +1000
commitdf472317194f3ef83c4c22cd134b0639a8536367 (patch)
tree1ff3bae1aaf98bd0d08531c42227d4eae5b625ce /tools/shared.h
parent6ee8c5854ca574e76d5f4a59f9cd4041a8279e64 (diff)
downloadlibinput-df472317194f3ef83c4c22cd134b0639a8536367.tar.gz
tools: pass the userdata to the context
The event-gui needs this but it got dropped in 6ee8c585, causing a crash. Oops. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'tools/shared.h')
-rw-r--r--tools/shared.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/shared.h b/tools/shared.h
index 9ecd3adb..4388cea6 100644
--- a/tools/shared.h
+++ b/tools/shared.h
@@ -44,6 +44,7 @@ struct tools_options {
void tools_init_options(struct tools_options *options);
int tools_parse_args(int argc, char **argv, struct tools_options *options);
struct libinput* tools_open_backend(struct tools_options *options,
+ void *userdata,
const struct libinput_interface *interface);
void tools_device_apply_config(struct libinput_device *device,
struct tools_options *options);