[mutter/wip/carlosg/there-can-be-only-one: 145/151] 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: 145/151] core: Drop handling of updates to the last used device
- Date: Sat, 5 Feb 2022 12:17:05 +0000 (UTC)
commit 053060ce6b80032919ff45b248e8ea3e492dd77a
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]