From: Jens Peters Date: Fri, 12 Jan 2024 23:25:45 +0000 (+0100) Subject: seat: re-map touch to output on output change X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=516423f9baa0be10ef1abbc09c2c7064fc481c83;p=proto%2Flabwc.git seat: re-map touch to output on output change --- diff --git a/src/seat.c b/src/seat.c index eb42b744..8a747002 100644 --- a/src/seat.c +++ b/src/seat.c @@ -660,6 +660,9 @@ seat_output_layout_changed(struct seat *seat) struct input *input = NULL; wl_list_for_each(input, &seat->inputs, link) { switch (input->wlr_input_device->type) { + case WLR_INPUT_DEVICE_TOUCH: + map_touch_to_output(seat, input->wlr_input_device); + break; case WLR_INPUT_DEVICE_TABLET_TOOL: map_input_to_output(seat, input->wlr_input_device, rc.tablet.output_name); break;