aboutsummaryrefslogtreecommitdiff
path: root/swaymsg/main.c
diff options
context:
space:
mode:
authorBrian Ashworth <bosrsf04@gmail.com>2020-09-02 19:26:39 -0400
committerSimon Ser <contact@emersion.fr>2020-09-03 10:46:06 +0200
commit2ea5d2985ad18ec6cb9d9f4e8d05e3d91356a6bb (patch)
tree4301701ac756f63bf02ad2be8d331d41aa00554f /swaymsg/main.c
parent2c76923282b12c77e6cb30e3bf233e5878ac86fe (diff)
input/libinput: remove input type property bias
This changes it so all libinput config options are set on any device that supports it. Previously, only a subset of libinput config options were being considered depending on the input type. Instead of trying to guess which properties the device may support, attempt to set any configured property regardless of the device type. All of the functions already have early returns in them for when the device does not actually support the property. This brings the configuration side inline with describe_libinput_device for the IPC side. This change was prompted by a tablet tool showing the calibration matrix property in the IPC message, but not being able to actually change it since that property was only being considered for the touch input type.
Diffstat (limited to 'swaymsg/main.c')
0 files changed, 0 insertions, 0 deletions