mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 19:40:43 -05:00
wayland: Remove an extraneous variable
This commit is contained in:
parent
db56a7cecb
commit
de6054d557
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user