[mutter] seat: Move update_cursor_surface to the end



commit 15d89d451f543b32132cebe15decbcc183991982
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Apr 17 19:14:17 2014 -0400

    seat: Move update_cursor_surface to the end
    
    It's now only a public API.

 src/wayland/meta-wayland-seat.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/wayland/meta-wayland-seat.c b/src/wayland/meta-wayland-seat.c
index 2303379..e345d52 100644
--- a/src/wayland/meta-wayland-seat.c
+++ b/src/wayland/meta-wayland-seat.c
@@ -55,12 +55,6 @@ set_cursor_surface (MetaWaylandSeat    *seat,
   meta_wayland_pointer_set_cursor_surface (&seat->pointer, surface);
 }
 
-void
-meta_wayland_seat_update_cursor_surface (MetaWaylandSeat *seat)
-{
-  meta_wayland_pointer_update_cursor_surface (&seat->pointer);
-}
-
 static void
 pointer_set_cursor (struct wl_client *client,
                     struct wl_resource *resource,
@@ -83,7 +77,7 @@ pointer_set_cursor (struct wl_client *client,
   seat->pointer.hotspot_x = x;
   seat->pointer.hotspot_y = y;
   set_cursor_surface (seat, surface);
-  meta_wayland_seat_update_cursor_surface (seat);
+  meta_wayland_pointer_update_cursor_surface (&seat->pointer);
 }
 
 static void
@@ -458,3 +452,9 @@ meta_wayland_seat_repick (MetaWaylandSeat    *seat,
 
   meta_wayland_pointer_update_current_focus (pointer, surface);
 }
+
+void
+meta_wayland_seat_update_cursor_surface (MetaWaylandSeat *seat)
+{
+  meta_wayland_pointer_update_cursor_surface (&seat->pointer);
+}


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