diff options
Diffstat (limited to 'src/platform/wayland/surface.c')
| -rw-r--r-- | src/platform/wayland/surface.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/platform/wayland/surface.c b/src/platform/wayland/surface.c index 7daa679..ad3a24c 100644 --- a/src/platform/wayland/surface.c +++ b/src/platform/wayland/surface.c @@ -1,5 +1,6 @@ #include "internal.h" #include <assert.h> +#include <errno.h> static void display_free(struct wayland_display *c); @@ -335,6 +336,7 @@ struct wayland_surface *wayland_surface_create_toplevel(struct wayland_display * if (!w) return NULL; c->depth++; conn_link(c, w); + w->base.state = YASL_STATE_CSD; wayland_surface_set_callbacks(w, NULL, NULL); w->cursor = YASL_CURSOR_TEXT; w->req_width = width; |
