From 7e26d96d17d32338cdfebd30a4ddfeafae0816f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Tue, 25 Feb 2020 19:56:23 +0100 Subject: [PATCH] wayland: default to CSDs Only when the compositor implements the XDG decoration manager interface, and it tells us to use server side decorations to we do so. --- wayland.c | 1 + 1 file changed, 1 insertion(+) diff --git a/wayland.c b/wayland.c index 5f7ff049..813229ec 100644 --- a/wayland.c +++ b/wayland.c @@ -902,6 +902,7 @@ wayl_win_init(struct terminal *term) struct wl_window *win = calloc(1, sizeof(*win)); win->term = term; + win->use_csd = true; win->surface = wl_compositor_create_surface(wayl->compositor); if (win->surface == NULL) {