Check for a NULL keyboard_state.keyboard value in seat_client_create_keyboard() before trying to use it, as is done in other functions like seat_client_send_repeat_info(). Prevents a segfault in certain situations on keyboard removal, as seen in the sway issue. Closes: https://github.com/swaywm/sway/issues/5205 Closes: https://github.com/swaywm/wlroots/issues/2073 |
||
|---|---|---|
| .. | ||
| wlr_seat.c | ||
| wlr_seat_keyboard.c | ||
| wlr_seat_pointer.c | ||
| wlr_seat_touch.c | ||