toytoolkit: Don't destroy window cairo surface on shm attach.

https://bugs.freedesktop.org/show_bug.cgi?id=52454
This commit is contained in:
Scott Moreau 2012-10-30 12:12:12 -06:00 committed by Kristian Høgsberg
parent 57e090746e
commit 1bdb477522
1 changed files with 0 additions and 2 deletions

View File

@ -870,8 +870,6 @@ window_attach_surface(struct window *window)
window->allocation.height);
wl_surface_commit(window->surface);
window->server_allocation = window->allocation;
cairo_surface_destroy(window->cairo_surface);
window->cairo_surface = NULL;
break;
default:
return;