From 013436c9973dfeb76f073a597256bb9e9288d262 Mon Sep 17 00:00:00 2001 From: Ville Hakulinen Date: Tue, 7 Jan 2020 08:03:15 +0200 Subject: [PATCH] ui_grid_resize: fix resize logic for floating window #11655 --- src/nvim/ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nvim/ui.c b/src/nvim/ui.c index 79fa8b8223..0f841760d6 100644 --- a/src/nvim/ui.c +++ b/src/nvim/ui.c @@ -505,7 +505,7 @@ void ui_grid_resize(handle_T grid_handle, int width, int height, Error *error) } if (wp->w_floating) { - if (width != wp->w_width && height != wp->w_height) { + if (width != wp->w_width || height != wp->w_height) { wp->w_float_config.width = width; wp->w_float_config.height = height; win_config_float(wp, wp->w_float_config);