aboutsummaryrefslogtreecommitdiff
path: root/wayland.c
diff options
context:
space:
mode:
Diffstat (limited to 'wayland.c')
-rw-r--r--wayland.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/wayland.c b/wayland.c
index 9643cda2..415d8292 100644
--- a/wayland.c
+++ b/wayland.c
@@ -475,8 +475,7 @@ xdg_toplevel_configure(void *data, struct xdg_toplevel *xdg_toplevel,
else
term_visual_focus_out(term);
- if (width > 0 && height > 0)
- render_resize(term, width, height, false);
+ render_resize(term, width, height, false);
}
static void