seat: change order

More in line with other functions.
This commit is contained in:
Jens Peters 2024-01-07 22:20:38 +01:00 committed by Johan Malm
parent 1df3ada636
commit cef2214023

View file

@ -351,12 +351,12 @@ new_input_notify(struct wl_listener *listener, void *data)
case WLR_INPUT_DEVICE_TOUCH: case WLR_INPUT_DEVICE_TOUCH:
input = new_touch(seat, device); input = new_touch(seat, device);
break; break;
case WLR_INPUT_DEVICE_TABLET_PAD:
input = new_tablet_pad(seat, device);
break;
case WLR_INPUT_DEVICE_TABLET_TOOL: case WLR_INPUT_DEVICE_TABLET_TOOL:
input = new_tablet(seat, device); input = new_tablet(seat, device);
break; break;
case WLR_INPUT_DEVICE_TABLET_PAD:
input = new_tablet_pad(seat, device);
break;
default: default:
wlr_log(WLR_INFO, "unsupported input device"); wlr_log(WLR_INFO, "unsupported input device");
return; return;