Olivier Fourdan 9b0392e988 backends/native: Emit signals for virtual devices
When creating a virtual device for the native backend, no "device-added"
is emitted.

Similarly, no "device-removed" signal is emitted either when the virtual
device is disposed.

However, the backend plugs into the "device-added" signal to set the
monitor device. Without the "device-added" signal being emitted, the
monitor associated with a virtual device remains NULL.

That later will cause a crash in `meta_idle_monitor_reset_idlettime()`
called from `handle_idletime_for_event()` when processing events from a
virtual device because the device monitor is NULL.

Make sure to emit the "device-added" signal when creating a virtual
device, and the "device-removed" when the virtual device is disposed.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/1037
2020-02-04 18:26:52 +01:00
..
2018-11-06 17:17:36 +01:00
2014-09-12 11:55:08 -06:00
2018-11-06 17:17:36 +01:00
2019-10-21 14:04:30 +00:00
2019-10-21 14:04:30 +00:00
2019-10-21 14:04:30 +00:00
2019-01-22 18:31:53 +01:00
2019-01-22 18:31:53 +01:00
2019-06-28 11:19:22 +02:00