mirror of
https://github.com/labwc/labwc.git
synced 2026-04-13 08:21:15 -04:00
config: Remove invalid click method
There is no "none" click method, it is either software button area or clickfinger.
This commit is contained in:
parent
7adf5533f9
commit
c098c8de0c
3 changed files with 2 additions and 6 deletions
|
|
@ -680,7 +680,6 @@ extending outward from the snapped edge.
|
||||||
- *clickfinger* - Clicking with one, two or three finger(s) will produce
|
- *clickfinger* - Clicking with one, two or three finger(s) will produce
|
||||||
left, right or middle button event without regard to the location of a
|
left, right or middle button event without regard to the location of a
|
||||||
click.
|
click.
|
||||||
- *none* - Physical clicks will not produce button events.
|
|
||||||
|
|
||||||
The default method depends on the touchpad hardware.
|
The default method depends on the touchpad hardware.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -472,7 +472,7 @@
|
||||||
- pointerSpeed [-1.0 to 1.0]
|
- pointerSpeed [-1.0 to 1.0]
|
||||||
- accelProfile [flat|adaptive]
|
- accelProfile [flat|adaptive]
|
||||||
- tapButtonMap [lrm|lmr]
|
- tapButtonMap [lrm|lmr]
|
||||||
- clickMethod [none|buttonAreas|clickfinger]
|
- clickMethod [buttonAreas|clickfinger]
|
||||||
-->
|
-->
|
||||||
<libinput>
|
<libinput>
|
||||||
<device category="default">
|
<device category="default">
|
||||||
|
|
|
||||||
|
|
@ -564,10 +564,7 @@ fill_libinput_category(char *nodename, char *content)
|
||||||
? LIBINPUT_CONFIG_DWT_ENABLED
|
? LIBINPUT_CONFIG_DWT_ENABLED
|
||||||
: LIBINPUT_CONFIG_DWT_DISABLED;
|
: LIBINPUT_CONFIG_DWT_DISABLED;
|
||||||
} else if (!strcasecmp(nodename, "clickMethod")) {
|
} else if (!strcasecmp(nodename, "clickMethod")) {
|
||||||
if (!strcasecmp(content, "none")) {
|
if (!strcasecmp(content, "clickfinger")) {
|
||||||
current_libinput_category->click_method =
|
|
||||||
LIBINPUT_CONFIG_CLICK_METHOD_NONE;
|
|
||||||
} else if (!strcasecmp(content, "clickfinger")) {
|
|
||||||
current_libinput_category->click_method =
|
current_libinput_category->click_method =
|
||||||
LIBINPUT_CONFIG_CLICK_METHOD_CLICKFINGER;
|
LIBINPUT_CONFIG_CLICK_METHOD_CLICKFINGER;
|
||||||
} else if (!strcasecmp(content, "buttonAreas")) {
|
} else if (!strcasecmp(content, "buttonAreas")) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue