mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-27 13:50:08 +01:00
totem: fix suspension-as-addition and resumption-as-removal in interface
Ref: bf4277623f (note_793592)
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
This commit is contained in:
parent
9f594664d9
commit
0dd8b9725f
1 changed files with 2 additions and 2 deletions
|
|
@ -705,8 +705,8 @@ struct evdev_dispatch_interface totem_interface = {
|
|||
.destroy = totem_interface_destroy,
|
||||
.device_added = totem_interface_device_added,
|
||||
.device_removed = totem_interface_device_removed,
|
||||
.device_suspended = totem_interface_device_added, /* treat as remove */
|
||||
.device_resumed = totem_interface_device_removed, /* treat as add */
|
||||
.device_suspended = totem_interface_device_removed, /* treat as remove */
|
||||
.device_resumed = totem_interface_device_added, /* treat as add */
|
||||
.post_added = totem_interface_initial_proximity,
|
||||
.touch_arbitration_toggle = NULL,
|
||||
.touch_arbitration_update_rect = NULL,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue