From 6e0a18f82bd04a45e9682523c42af9cbbc37684c Mon Sep 17 00:00:00 2001 From: lilydjwg Date: Mon, 29 Jan 2024 20:54:28 +0100 Subject: patch 9.1.0064: No Wayland support Problem: No Wayland support Solution: Add Wayland UI support (lilydjwg) closes: #9639 Signed-off-by: lilydjwg Signed-off-by: Christian Brabandt --- src/gui.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/gui.c') diff --git a/src/gui.c b/src/gui.c index 223ede2828..29e462380c 100644 --- a/src/gui.c +++ b/src/gui.c @@ -1589,8 +1589,11 @@ again: // Only comparing Rows and Columns may be sufficient, but let's stay on // the safe side. if (gui.num_rows != screen_Rows || gui.num_cols != screen_Columns - || gui.num_rows != Rows || gui.num_cols != Columns) + || gui.num_rows != Rows || gui.num_cols != Columns || gui.force_redraw) + { shell_resized(); + gui.force_redraw = 0; + } #ifdef FEAT_GUI_HAIKU vim_unlock_screen(); -- cgit v1.2.3