toytoolkit: Don't destroy window cairo surface on shm attach.
https://bugs.freedesktop.org/show_bug.cgi?id=52454
This commit is contained in:
parent
57e090746e
commit
1bdb477522
|
@ -870,8 +870,6 @@ window_attach_surface(struct window *window)
|
||||||
window->allocation.height);
|
window->allocation.height);
|
||||||
wl_surface_commit(window->surface);
|
wl_surface_commit(window->surface);
|
||||||
window->server_allocation = window->allocation;
|
window->server_allocation = window->allocation;
|
||||||
cairo_surface_destroy(window->cairo_surface);
|
|
||||||
window->cairo_surface = NULL;
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue