Carlos Garnacho 741dd674f6 backends: rate-filter the emission of MetaBackend::last-device-changed signal
It indirectly triggers expensive operations in gnome-shell
(js/ui/keyboard.js), which turns out too expensive if we happen to operate
the shell simultaneously with 2 devices that will trigger the operations
there.

So just rate limit the signal emission, defer to an idle and just emit
the last device gotten. Worst that will happen is that we may possibly
emit the signal on the same device consecutively.

https://bugzilla.gnome.org/show_bug.cgi?id=753527
2016-02-26 16:19:15 +01:00
2015-11-09 10:25:40 -05:00
2015-07-06 00:52:18 -07:00
2015-07-06 00:52:18 -07:00
2016-02-19 18:02:23 +01:00
Description
94 MiB
Languages
C 98.9%
Meson 0.7%
Python 0.3%