[mutter/wip/carlosg/input-thread: 2/43] backend/native: Let cursor renderer/tracker be updated by events after warp




commit 48959296ee9aa4d2d9c3af189f8f907bc504d8a7
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sat Nov 21 18:03:27 2020 +0100

    backend/native: Let cursor renderer/tracker be updated by events after warp
    
    We will generate a motion event, which will end up with the same result, at
    a time we can ensure it did happen.

 src/backends/native/meta-seat-native.c | 6 ------
 1 file changed, 6 deletions(-)
---
diff --git a/src/backends/native/meta-seat-native.c b/src/backends/native/meta-seat-native.c
index e9c83927ee..fa86b775b5 100644
--- a/src/backends/native/meta-seat-native.c
+++ b/src/backends/native/meta-seat-native.c
@@ -333,14 +333,8 @@ meta_seat_native_warp_pointer (ClutterSeat *seat,
                                int          y)
 {
   MetaSeatNative *seat_native = META_SEAT_NATIVE (seat);
-  MetaBackend *backend = meta_get_backend ();
-  MetaCursorRenderer *cursor_renderer =
-    meta_backend_get_cursor_renderer (backend);
-  MetaCursorTracker *cursor_tracker = meta_backend_get_cursor_tracker (backend);
 
   meta_seat_impl_warp_pointer (seat_native->impl, x, y);
-  meta_cursor_renderer_update_position (cursor_renderer);
-  meta_cursor_tracker_invalidate_position (cursor_tracker);
 }
 
 static gboolean


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]