diff options
author | Ville Hakulinen <ville.hakulinen@gmail.com> | 2020-01-07 08:03:15 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2020-01-06 22:03:15 -0800 |
commit | 013436c9973dfeb76f073a597256bb9e9288d262 (patch) | |
tree | 9895edb2f33d1eb4219f1080897974173531130e /src | |
parent | 4a7d84ae603f75f974ab9a9d2f4d1b4a06da79bf (diff) | |
download | rneovim-013436c9973dfeb76f073a597256bb9e9288d262.tar.gz rneovim-013436c9973dfeb76f073a597256bb9e9288d262.tar.bz2 rneovim-013436c9973dfeb76f073a597256bb9e9288d262.zip |
ui_grid_resize: fix resize logic for floating window #11655
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |