aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2013-07-25 08:50:47 +0100
committerChris Michael <cp.michael@samsung.com>2013-07-25 08:50:47 +0100
commit6e72cb0573420b8e03a25fe116e7e96ee4cc5758 (patch)
tree8eb9a296694a45545f7867c4c9a53f0f35dbd138
parentTell ecore_wayland to run in "server mode" so we do not stall during (diff)
downloadenlightenment-devs/devilhorns/e_wayland.tar.gz
By default, set buffer size to 0 on creation.devs/devilhorns/e_wayland
Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r--src/bin/e_wayland/e_buffer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/e_wayland/e_buffer.c b/src/bin/e_wayland/e_buffer.c
index 7a8060cea..3139d77ae 100644
--- a/src/bin/e_wayland/e_buffer.c
+++ b/src/bin/e_wayland/e_buffer.c
@@ -18,6 +18,8 @@ e_buffer_resource_get(struct wl_resource *resource)
if (!(buffer = E_NEW_RAW(E_Buffer, 1)))
return NULL;
+ buffer->w = 0;
+ buffer->h = 0;
buffer->wl.resource = resource;
wl_signal_init(&buffer->signals.destroy);
buffer->buffer_destroy.notify = _e_buffer_cb_destroy;