mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
Add mouse emulation for touch devices (#2277)
This commit is contained in:
parent
4d3efb4339
commit
45a9bd95e7
5 changed files with 24 additions and 3 deletions
|
|
@ -633,6 +633,8 @@ fill_touch(char *nodename, char *content)
|
|||
current_touch->device_name = xstrdup(content);
|
||||
} else if (!strcasecmp(nodename, "mapToOutput.touch")) {
|
||||
current_touch->output_name = xstrdup(content);
|
||||
} else if (!strcasecmp(nodename, "mouseEmulation.touch")) {
|
||||
set_bool(content, ¤t_touch->force_mouse_emulation);
|
||||
} else {
|
||||
wlr_log(WLR_ERROR, "Unexpected data in touch parser: %s=\"%s\"",
|
||||
nodename, content);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue