Benoit Gschwind 74e88dd18f backend: Reset current device id when current device removed
Bluetooth mouse usually goes in sleep state after a timeout, when that
happen the mouse is disconnected and on_device_removed function is
called. Before the patch if a touch device is available the
on_device_removed function hide the cursor. The issue is that the cursor
does not reappear once the bluetooth mouse is reconnected because
MetaBackend::current_device_id is not invalidated when on_device_removed
was called.

The patch set MetaBackend::current_device_id to 0 if the current device
is removed. This will make update_last_device to be triggered as soon as
another input device is used or the bluetooth mouse reconnect, as
consequence that the cursor reappear. The id 0 is never given to devices
and can safely used as undefine id.

https://bugzilla.gnome.org/show_bug.cgi?id=761067
2017-11-09 17:46:15 +08:00
2015-07-06 00:52:18 -07:00
2017-11-06 13:42:41 +01:00
2014-03-18 20:37:35 -04:00
2017-10-03 15:55:11 -03:00
2017-05-11 13:45:44 +02:00
2016-04-27 20:37:47 +02:00
2014-07-31 17:50:28 +02:00
2017-11-02 16:54:54 +01:00
Description
94 MiB
Languages
C 98.9%
Meson 0.7%
Python 0.3%