mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
backend/x11: correctly destroy input devices
This commit is contained in:
parent
79da4c175e
commit
f8e0a03451
9 changed files with 34 additions and 10 deletions
|
|
@ -9,7 +9,8 @@ struct wlr_keyboard_impl {
|
|||
void (*led_update)(struct wlr_keyboard *keyboard, uint32_t leds);
|
||||
};
|
||||
|
||||
void wlr_keyboard_init(struct wlr_keyboard *keyboard, struct wlr_keyboard_impl *impl);
|
||||
void wlr_keyboard_init(struct wlr_keyboard *keyboard,
|
||||
const struct wlr_keyboard_impl *impl);
|
||||
void wlr_keyboard_destroy(struct wlr_keyboard *keyboard);
|
||||
void wlr_keyboard_notify_key(struct wlr_keyboard *keyboard,
|
||||
struct wlr_event_keyboard_key *event);
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ struct wlr_pointer_impl {
|
|||
};
|
||||
|
||||
void wlr_pointer_init(struct wlr_pointer *pointer,
|
||||
struct wlr_pointer_impl *impl);
|
||||
const struct wlr_pointer_impl *impl);
|
||||
void wlr_pointer_destroy(struct wlr_pointer *pointer);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue