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

https://bugs.freedesktop.org/show_bug.cgi?id=52454
Scott Moreau 12 years ago committed by Kristian Høgsberg
parent 57e090746e
commit 1bdb477522
  1. 2
      clients/window.c

@ -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;

Loading…
Cancel
Save