From 98f0d51157fa2a2b8ccaae54ed4850a88d223d01 Mon Sep 17 00:00:00 2001 From: Berke Güzel Date: Tue, 13 Oct 2026 15:05:06 +0300 Subject: Simplify surface state, examples, and library installation --- src/platform/wayland/surface.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/platform/wayland/surface.c') 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 +#include 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; -- cgit v1.2.3