0cdad33f1a
If a sway keyboard is being destroyed, then the keyboard is being removed from a seat. If the associated wlr_keyboard is the currently set keyboard for the wlr_seat, then we need to reset the wlr_seat's keyboard to NULL so it doesn't reference an invalid device for the seat. The next configured keyboard from the seat or the next keyboard from that seat that has an event will then become the seat keyboard. Similarly, this needs to be done for a wlr_keyboard_group's keyboard when the wlr_keyboard_group is being destroyed. |
||
---|---|---|
.. | ||
cursor.c | ||
input-manager.c | ||
keyboard.c | ||
libinput.c | ||
seat.c | ||
seatop_default.c | ||
seatop_down.c | ||
seatop_move_floating.c | ||
seatop_move_tiling.c | ||
seatop_resize_floating.c | ||
seatop_resize_tiling.c | ||
switch.c | ||
tablet.c |