mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
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:
parent
8af5bf49b0
commit
7e26d96d17
1 changed files with 1 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue