[mutter] wayland: Remove some extraneous code
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] wayland: Remove some extraneous code
- Date: Sat, 12 Apr 2014 06:56:42 +0000 (UTC)
commit f5e77d7f63084032ec5a7012d47de5542de95c59
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Apr 11 23:31:02 2014 -0700
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 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c
index 82535dc..25c4f32 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]