mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-25 04:40:05 +01:00
tablet: Set the tool as out of proximity by default when we initialize a tablet
We should be able to set the tablet to left-handed mode immediately when it's connected to the system. Since left-handed mode won't activate until the tool is out of proximity however, we have to make sure that upon initially connecting the tablet, we set the tool to be out of proximity (it may as well be anyway, since we haven't processed any proximity in events from evdev just yet) Signed-off-by: Stephen Chandler Paul <thatslyude@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
145663d0a2
commit
a98d4831b6
1 changed files with 2 additions and 0 deletions
|
|
@ -566,6 +566,8 @@ tablet_init(struct tablet_dispatch *tablet,
|
|||
|
||||
tablet_mark_all_axes_changed(tablet, device);
|
||||
|
||||
tablet_set_status(tablet, TABLET_TOOL_OUT_OF_PROXIMITY);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue