From f5e77d7f63084032ec5a7012d47de5542de95c59 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Fri, 11 Apr 2014 23:31:02 -0700 Subject: [PATCH] wayland: Remove some extraneous code This is already handled by the double_buffered_state_reset at the end. --- src/wayland/meta-wayland-surface.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c index 82535dcd5..25c4f3286 100644 --- a/src/wayland/meta-wayland-surface.c +++ b/src/wayland/meta-wayland-surface.c @@ -377,12 +377,6 @@ commit_double_buffered_state (MetaWaylandSurface *surface, g_list_foreach (surface->subsurfaces, parent_surface_committed, NULL); - if (pending->buffer) - { - wl_list_remove (&pending->buffer_destroy_listener.link); - pending->buffer = NULL; - } - /* wl_surface.frame */ wl_list_insert_list (&compositor->frame_callbacks, &pending->frame_callback_list); wl_list_init (&pending->frame_callback_list);