From 516423f9baa0be10ef1abbc09c2c7064fc481c83 Mon Sep 17 00:00:00 2001 From: Jens Peters Date: Sat, 13 Jan 2024 00:25:45 +0100 Subject: [PATCH] seat: re-map touch to output on output change --- src/seat.c | 3 +++ 1 file changed, 3 insertions(+) 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;