summaryrefslogtreecommitdiffstats
path: root/src/gui.c
diff options
context:
space:
mode:
authorlilydjwg <lilydjwg@gmail.com>2024-01-29 20:54:28 +0100
committerChristian Brabandt <cb@256bit.org>2024-01-29 20:54:28 +0100
commit6e0a18f82bd04a45e9682523c42af9cbbc37684c (patch)
treed13ee399f7bbae3045ae5afc85be2308de28e3ee /src/gui.c
parent94ff09a0935bc78fd81e9c79f099d42c94e3c218 (diff)
patch 9.1.0064: No Wayland supportv9.1.0064
Problem: No Wayland support Solution: Add Wayland UI support (lilydjwg) closes: #9639 Signed-off-by: lilydjwg <lilydjwg@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c5
1 files changed, 4 insertions, 1 deletions
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();