projects
/
profile
/
ivi
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57e0907
)
toytoolkit: Don't destroy window cairo surface on shm attach.
author
Scott Moreau
<oreaus@gmail.com>
Tue, 30 Oct 2012 18:12:12 +0000
(12:12 -0600)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Tue, 30 Oct 2012 18:18:49 +0000
(14:18 -0400)
https://bugs.freedesktop.org/show_bug.cgi?id=52454
clients/window.c
patch
|
blob
|
history
diff --git
a/clients/window.c
b/clients/window.c
index
e699fbc
..
ece9229
100644
(file)
--- a/
clients/window.c
+++ b/
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;