mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
backend/libinput: use NULL to indicate missing device name
libinput guarantees that the name is non-NULL, and an empty string if unset. However wlroots uses NULL to indicate that an input device name is unset.
This commit is contained in:
parent
488a23c169
commit
ee70932422
8 changed files with 17 additions and 6 deletions
|
|
@ -48,6 +48,7 @@ void handle_libinput_event(struct wlr_libinput_backend *state,
|
|||
struct libinput_event *event);
|
||||
|
||||
void destroy_libinput_input_device(struct wlr_libinput_input_device *dev);
|
||||
const char *get_libinput_device_name(struct libinput_device *device);
|
||||
|
||||
extern const struct wlr_keyboard_impl libinput_keyboard_impl;
|
||||
extern const struct wlr_pointer_impl libinput_pointer_impl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue