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.
This commit is contained in:
Daniel Eklöf 2020-02-25 19:56:23 +01:00
parent 8af5bf49b0
commit 7e26d96d17
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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) {