From 7a096b8686a49f548851c6ea0209ad5ba8ab6824 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Thu, 1 Sep 2016 21:02:32 +0800 Subject: [PATCH] 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 file changed, 4 insertions(+) diff --git a/src/wayland/meta-wayland-surface-role-cursor.c b/src/wayland/meta-wayland-surface-role-cursor.c index ebe972417..dd6415662 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);