mirror of
https://github.com/labwc/labwc.git
synced 2026-02-15 22:05:25 -05:00
config: parse multiple touch configurations
Also temporary disable touch output mapping. Will be restored later.
This commit is contained in:
parent
9d64b56367
commit
2c3ab16f39
3 changed files with 40 additions and 9 deletions
|
|
@ -273,7 +273,7 @@ static void
|
|||
map_touch_to_output(struct seat *seat, struct wlr_input_device *dev)
|
||||
{
|
||||
struct wlr_touch *touch = wlr_touch_from_input_device(dev);
|
||||
char *output_name = touch->output_name ? touch->output_name : rc.touch.output_name;
|
||||
char *output_name = touch->output_name ? touch->output_name : NULL;
|
||||
wlr_log(WLR_INFO, "map touch to output %s\n", output_name);
|
||||
map_input_to_output(seat, dev, output_name);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue