[mutter/wip/carlosg/there-can-be-only-one: 6/10] core: Drop handling of updates to the last used device
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/carlosg/there-can-be-only-one: 6/10] core: Drop handling of updates to the last used device
- Date: Thu, 13 Jan 2022 16:18:18 +0000 (UTC)
commit a860ba7949e0eec004f751f98c7aa6e1bfee346b
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.
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 a8f854a021..78b40cc24f 100644
--- a/src/core/events.c
+++ b/src/core/events.c
@@ -273,15 +273,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]