[mutter] wayland/cursor-role: Add back priv variable



commit 7a096b8686a49f548851c6ea0209ad5ba8ab6824
Author: Jonas Ådahl <jadahl gmail com>
Date:   Thu Sep 1 21:02:32 2016 +0800

    wayland/cursor-role: Add back priv variable
    
    Rebase of previous patch that removed the priv variable shouldn't have,
    since it was now used by other things. Add it back so it compiles again.

 src/wayland/meta-wayland-surface-role-cursor.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/wayland/meta-wayland-surface-role-cursor.c b/src/wayland/meta-wayland-surface-role-cursor.c
index ebe9724..dd64156 100644
--- a/src/wayland/meta-wayland-surface-role-cursor.c
+++ b/src/wayland/meta-wayland-surface-role-cursor.c
@@ -115,6 +115,10 @@ cursor_surface_role_assigned (MetaWaylandSurfaceRole *surface_role)
 {
   MetaWaylandSurface *surface =
     meta_wayland_surface_role_get_surface (surface_role);
+  MetaWaylandSurfaceRoleCursor *cursor_role =
+    META_WAYLAND_SURFACE_ROLE_CURSOR (surface_role);
+  MetaWaylandSurfaceRoleCursorPrivate *priv =
+    meta_wayland_surface_role_cursor_get_instance_private (cursor_role);
 
   wl_list_insert_list (&priv->frame_callbacks,
                        &surface->pending_frame_callback_list);


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