mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05: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;
|
||||
}
|
||||
|
||||
if (win->is_configured) {
|
||||
struct terminal *term = win->term;
|
||||
int scale = term->scale;
|
||||
|
||||
render_resize_force(term, term->width / scale, term->height / scale);
|
||||
}
|
||||
if (win->is_configured)
|
||||
render_csd(win->term);
|
||||
}
|
||||
|
||||
static const struct zxdg_toplevel_decoration_v1_listener xdg_toplevel_decoration_listener = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue