mutter/src/backends
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
..
native native: Don't wait for a new input event to wrap the pointer 2016-02-16 19:02:48 +08:00
x11 Move out generic math parts out of the native barrier implementation 2016-02-16 19:02:48 +08:00
edid-parse.c Remove trailing whitespace 2014-05-02 09:34:48 -04:00
edid.h edid: Remove unused declarations 2014-09-12 11:55:08 -06:00
meta-backend-private.h Implement support for the wp_pointer_constraints protocol 2016-02-16 19:02:48 +08:00
meta-backend.c backends: rate-filter the emission of MetaBackend::last-device-changed signal 2016-02-26 16:19:15 +01:00
meta-barrier-private.h Move out generic math parts out of the native barrier implementation 2016-02-16 19:02:48 +08:00
meta-barrier.c Move out generic math parts out of the native barrier implementation 2016-02-16 19:02:48 +08:00
meta-cursor-renderer.c cursor-renderer: do not update cursor if it is out of monitor 2015-11-29 19:15:23 +01:00
meta-cursor-renderer.h Don't duplicate declarations from G_DEFINE_TYPE 2015-09-24 03:01:51 +02:00
meta-cursor-tracker-private.h Rename MetaCursorReference to MetaCursorSprite 2015-08-28 09:52:30 +08:00
meta-cursor-tracker.c cursor-tracker: Port to GdkSeat API 2016-01-21 14:07:50 +01:00
meta-cursor.c Don't duplicate declarations from G_DEFINE_TYPE 2015-09-24 03:01:51 +02:00
meta-cursor.h Support scaling of cursor sprites given what output they are on 2015-09-13 21:26:22 +08:00
meta-display-config-shared.h Remove trailing whitespace 2014-05-02 09:34:48 -04:00
meta-idle-monitor-dbus.c MetaIdleMonitorDBus: unref the objects after exporting them 2014-05-07 19:04:54 +02:00
meta-idle-monitor-dbus.h Start molding out a new src/backends/ dir 2014-03-31 22:11:00 -04:00
meta-idle-monitor-private.h Remove trailing whitespace 2014-05-02 09:34:48 -04:00
meta-idle-monitor.c backends: Make MetaBackend available to introspection 2014-08-07 11:31:59 +02:00
meta-input-settings-private.h backends: Force 2-finger scroll by default if available 2015-12-15 14:38:23 +01:00
meta-input-settings.c backends: Fix cut'n'paste error in click method setting 2015-12-15 14:41:51 +01:00
meta-monitor-config.c Avoid shadowing existing variables 2015-09-24 03:08:22 +02:00
meta-monitor-config.h monitor-manager: Expose MetaMonitorManager to introspection 2015-01-30 13:13:49 -05:00
meta-monitor-manager-dummy.c Avoid shadowing existing variables 2015-09-24 03:08:22 +02:00
meta-monitor-manager-dummy.h monitor-manager: Expose MetaMonitorManager to introspection 2015-01-30 13:13:49 -05:00
meta-monitor-manager-private.h monitor-manager: Expose a few helpers to clear structs 2015-10-30 17:47:00 +01:00
meta-monitor-manager.c monitor-manager: Fix the max potential number of logical monitors 2015-11-29 19:15:37 +01:00
meta-pointer-constraint.c Implement support for the wp_pointer_constraints protocol 2016-02-16 19:02:48 +08:00
meta-pointer-constraint.h Implement support for the wp_pointer_constraints protocol 2016-02-16 19:02:48 +08:00
meta-stage.c backends: Get rid of meta-cursor-private.h 2015-08-28 09:54:57 +08:00
meta-stage.h wayland: manually activate/deactivate stage when taking/dropping grab 2015-03-28 11:20:48 -04:00