diff --git a/src/evdev-totem.c b/src/evdev-totem.c index bcf180d6..d26fc33d 100644 --- a/src/evdev-totem.c +++ b/src/evdev-totem.c @@ -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,