Don't close the fd if libinput_add_fd() fails
[platform/upstream/libinput.git] / src / path.h
index 72cc547..779d823 100644 (file)
 
 struct path_input {
        struct libinput base;
+       struct list path_list;
+};
+
+struct path_device {
+       struct list link;
        char *path;
-       struct evdev_device *device;
 };
 
 struct path_seat {
        struct libinput_seat base;
-       const char *name;
 };
 
 int path_input_process_event(struct libinput_event);