mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-02 03:45:58 +01:00
Revert "backend/wayland: zero out finished input devices"
This reverts commit 03c88b07ba
.
init functions now zero out the structs.
This commit is contained in:
parent
6c350799b2
commit
a1e1e9aba8
1 changed files with 1 additions and 2 deletions
|
@ -325,7 +325,7 @@ static void seat_handle_capabilities(void *data, struct wl_seat *wl_seat,
|
||||||
|
|
||||||
wl_keyboard_release(seat->wl_keyboard);
|
wl_keyboard_release(seat->wl_keyboard);
|
||||||
wlr_keyboard_finish(&seat->wlr_keyboard);
|
wlr_keyboard_finish(&seat->wlr_keyboard);
|
||||||
memset(&seat->wlr_keyboard, 0, sizeof(seat->wlr_keyboard));
|
|
||||||
seat->wl_keyboard = NULL;
|
seat->wl_keyboard = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -340,7 +340,6 @@ static void seat_handle_capabilities(void *data, struct wl_seat *wl_seat,
|
||||||
|
|
||||||
wl_touch_release(seat->wl_touch);
|
wl_touch_release(seat->wl_touch);
|
||||||
wlr_touch_finish(&seat->wlr_touch);
|
wlr_touch_finish(&seat->wlr_touch);
|
||||||
memset(&seat->wlr_touch, 0, sizeof(seat->wlr_touch));
|
|
||||||
seat->wl_touch = NULL;
|
seat->wl_touch = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue