[mutter/wip/carlosg/there-can-be-only-one: 17/23] 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: 17/23] core: Drop handling of updates to the last used device
- Date: Mon, 7 Feb 2022 17:19:43 +0000 (UTC)
commit c8894a76b9906a73dc0e247830b853562d765ab8
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 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]