aboutsummaryrefslogtreecommitdiff
path: root/wayland.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-02-25 18:56:23 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-02-25 18:56:23 +0000
commit7e26d96d17d32338cdfebd30a4ddfeafae0816f6 (patch)
treeb0f9070eb7470b22398b2f2f08e39e970c09673f /wayland.c
parentwayland: weston does not implement the xdg decoration manager interface (diff)
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.
Diffstat (limited to 'wayland.c')
-rw-r--r--wayland.c1
1 files changed, 1 insertions, 0 deletions
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) {