summaryrefslogtreecommitdiff
path: root/test/path.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2014-11-19 13:43:59 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2014-11-25 16:34:22 +1000
commitd546c284c87796ca816b208103b9ef5c33a6099d (patch)
tree800f07d08320cdaf17689d25425eca65f78d2166 /test/path.c
parentff2b0cb84b6968e9772c92180b947ba80187f9fe (diff)
downloadlibinput-d546c284c87796ca816b208103b9ef5c33a6099d.tar.gz
Add libinput_device_set_seat_logical_name() to change seats at runtime
The seat of a device is currently immutable, but a device may (in a multi-pointer case) move between different logical seats. Moving it between seats is akin to removing it and re-plugging it, so let's do exactly that. The physical seat name stays immutable. Pro: - device handling after changing a seat remains identical as handling any other device. Con: - tracking a device across seat changes is difficult - this is not an atomic operation, if re-adding the device fails it stays removed from the original seat and is now dead Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'test/path.c')
0 files changed, 0 insertions, 0 deletions