[mutter/wip/carlosg/input-thread: 128/157] backends/native: Drop early processing of ClutterEvents
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/carlosg/input-thread: 128/157] backends/native: Drop early processing of ClutterEvents
- Date: Mon, 31 Aug 2020 15:49:14 +0000 (UTC)
commit e3d7fd6c92a8c9a8c30508a25f693286a6191320
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri Jul 31 20:15:44 2020 +0200
backends/native: Drop early processing of ClutterEvents
We have 2 sources (this one in MetaSeatNative, and the one in
MetaBackend) dispatching ClutterEvents to the stage. Make the
MetaSeatNative one exclusively about dispatching the libinput
queue, and leave ClutterEvents to the other.
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1403
src/backends/native/meta-seat-native.c | 7 -------
1 file changed, 7 deletions(-)
---
diff --git a/src/backends/native/meta-seat-native.c b/src/backends/native/meta-seat-native.c
index cfac3a23cd..6338d3d7db 100644
--- a/src/backends/native/meta-seat-native.c
+++ b/src/backends/native/meta-seat-native.c
@@ -1351,13 +1351,6 @@ meta_event_dispatch (GSource *g_source,
dispatch_libinput (seat);
queue_event:
- event = clutter_event_get ();
-
- if (event)
- {
- /* forward the event into clutter for emission etc. */
- _clutter_stage_queue_event (event->any.stage, event, FALSE);
- }
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]