mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-22 05:33:45 -04:00
wayland: decoration configure: no need to force a resize - just update the CSDs
This commit is contained in:
parent
135ca0884d
commit
be5988dd3a
1 changed files with 2 additions and 6 deletions
|
|
@ -618,12 +618,8 @@ xdg_toplevel_decoration_configure(void *data,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (win->is_configured) {
|
if (win->is_configured)
|
||||||
struct terminal *term = win->term;
|
render_csd(win->term);
|
||||||
int scale = term->scale;
|
|
||||||
|
|
||||||
render_resize_force(term, term->width / scale, term->height / scale);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct zxdg_toplevel_decoration_v1_listener xdg_toplevel_decoration_listener = {
|
static const struct zxdg_toplevel_decoration_v1_listener xdg_toplevel_decoration_listener = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue