aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/interfaces/wlr_keyboard.h
diff options
context:
space:
mode:
authorr-c-f <ryan.farley@gmx.com>2020-04-14 05:12:48 -0500
committerGitHub <noreply@github.com>2020-04-14 12:12:48 +0200
commitf679895c77c235161f698071009b70ef7af39494 (patch)
treec926788df8102dba964d5491b65f4d7db5e17334 /include/wlr/interfaces/wlr_keyboard.h
parent0281b58d2fced97644b1c4a8ca169998049d36b0 (diff)
seat: add check for NULL keyboard
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
Diffstat (limited to 'include/wlr/interfaces/wlr_keyboard.h')
0 files changed, 0 insertions, 0 deletions