backends: Ensure to clear the last updated device on device removal
If the last updated device is removed, ensure that it does result in a ::last-device-changed with a NULL device. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1460
This commit is contained in:
parent
86fa8aff4a
commit
089be8b71d
@ -456,6 +456,9 @@ on_device_removed (ClutterSeat *seat,
|
||||
!has_touchscreen);
|
||||
}
|
||||
}
|
||||
|
||||
if (priv->current_device == device)
|
||||
meta_backend_update_last_device (backend, NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
x
Reference in New Issue
Block a user