From de6054d55773e535b693061169218d49c07936b2 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Fri, 18 Apr 2014 18:09:14 -0400 Subject: [PATCH] wayland: Remove an extraneous variable --- src/wayland/meta-wayland-surface.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c index 88bfeb88e..e2c08b4ac 100644 --- a/src/wayland/meta-wayland-surface.c +++ b/src/wayland/meta-wayland-surface.c @@ -1383,8 +1383,6 @@ bind_gtk_shell (struct wl_client *client, static void subsurface_parent_surface_committed (MetaWaylandSurface *surface) { - MetaWaylandPendingState *pending_surface_state = &surface->sub.pending_surface_state; - if (surface->sub.pending_pos) { clutter_actor_set_position (CLUTTER_ACTOR (surface->surface_actor), @@ -1432,7 +1430,7 @@ subsurface_parent_surface_committed (MetaWaylandSurface *surface) } if (surface->sub.synchronous) - commit_pending_state (surface, pending_surface_state); + commit_pending_state (surface, &surface->sub.pending_surface_state); } static void