By default, set buffer size to 0 on creation.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
devs/devilhorns/e_wayland
Chris Michael 9 years ago
parent 2a94274a99
commit 6e72cb0573
  1. 2
      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;

Loading…
Cancel
Save