mirror of
https://github.com/labwc/labwc.git
synced 2025-11-01 22:58:47 -04:00
seat: re-map touch to output on reconfigure
This commit is contained in:
parent
21cf3071e3
commit
0eb1ae4d66
1 changed files with 3 additions and 0 deletions
|
|
@ -522,6 +522,9 @@ seat_reconfigure(struct server *server)
|
||||||
case WLR_INPUT_DEVICE_POINTER:
|
case WLR_INPUT_DEVICE_POINTER:
|
||||||
configure_libinput(input->wlr_input_device);
|
configure_libinput(input->wlr_input_device);
|
||||||
break;
|
break;
|
||||||
|
case WLR_INPUT_DEVICE_TOUCH:
|
||||||
|
map_touch_to_output(seat, input->wlr_input_device);
|
||||||
|
break;
|
||||||
case WLR_INPUT_DEVICE_TABLET_TOOL:
|
case WLR_INPUT_DEVICE_TABLET_TOOL:
|
||||||
map_input_to_output(seat, input->wlr_input_device, rc.tablet.output_name);
|
map_input_to_output(seat, input->wlr_input_device, rc.tablet.output_name);
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue