mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-06 13:29:45 -05:00
Handle input device removal
This commit is contained in:
parent
efadbf8424
commit
10240af6ea
4 changed files with 21 additions and 2 deletions
|
|
@ -52,10 +52,10 @@ static void input_remove_notify(struct wl_listener *listener, void *data) {
|
|||
struct roots_input *input = wl_container_of(listener, input, input_remove);
|
||||
switch (device->type) {
|
||||
case WLR_INPUT_DEVICE_KEYBOARD:
|
||||
//keyboard_remove(device, input);
|
||||
keyboard_remove(device, input);
|
||||
break;
|
||||
case WLR_INPUT_DEVICE_POINTER:
|
||||
//pointer_remove(device, input);
|
||||
pointer_remove(device, input);
|
||||
break;
|
||||
case WLR_INPUT_DEVICE_TOUCH:
|
||||
//touch_remove(device, input);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue