[mutter/wip/carlosg/there-can-be-only-one: 20/26] core: Drop handling of updates to the last used device
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/carlosg/there-can-be-only-one: 20/26] core: Drop handling of updates to the last used device
- Date: Tue, 8 Feb 2022 14:34:51 +0000 (UTC)
commit 4e85e0e1b378d1d75f8274c86de56d0f77351a27
Author: Carlos Garnacho <carlosg gnome org>
Date: Thu Jan 13 14:04:41 2022 +0100
core: Drop handling of updates to the last used device
This is now done in the backend for the Wayland case, so we can
drop this update here.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/285>
src/core/events.c | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
---
diff --git a/src/core/events.c b/src/core/events.c
index a79bf9f803..81911fd07c 100644
--- a/src/core/events.c
+++ b/src/core/events.c
@@ -309,15 +309,7 @@ meta_display_handle_event (MetaDisplay *display,
if (event->type != CLUTTER_DEVICE_ADDED &&
event->type != CLUTTER_DEVICE_REMOVED)
- {
- ClutterInputDevice *source;
-
- handle_idletime_for_event (event);
- source = clutter_event_get_source_device (event);
-
- if (source)
- meta_backend_update_last_device (backend, source);
- }
+ handle_idletime_for_event (event);
#ifdef HAVE_WAYLAND
if (meta_is_wayland_compositor () && event->type == CLUTTER_MOTION)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]