mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-15 08:56:26 -05:00
Use libinput_event_destroy/xkb_*_unref
Also sneak in a missing drmModeFreePlaneResources
This commit is contained in:
parent
e1293a7853
commit
de86965174
3 changed files with 4 additions and 0 deletions
|
|
@ -33,6 +33,7 @@ static int wlr_libinput_readable(int fd, uint32_t mask, void *_state) {
|
|||
struct libinput_event *event;
|
||||
while ((event = libinput_get_event(state->libinput))) {
|
||||
wlr_libinput_event(state, event);
|
||||
libinput_event_destroy(event);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue