Crash when second virtual-keyboard is used
wlroots gets some sort of memory corruption when the second virtual-keyboard client tries to interact with the interface after the first one is gone.
To reproduce:
- Start wlroots
- Start virtboard
- Press a button to trigger binding
- Close virtboard
- Start virtboard
- Press a button
The crash is probably related to not destroying wlr_input_device
associated to the virtual wlr_keyboard
before freeing both.