patch 9.2.0630: popup images: kitty images output in GUI mode
Commit:
https://github.com/vim/vim/commit/5cbb74078fd1cb007e12b53acafa1ca3082e481d
Author: Foxe Chen <
chen...@gmail.com>
Date: Sat Jun 13 17:31:40 2026 +0000
patch 9.2.0630: popup images: kitty images output in GUI mode
Problem: popup images: kitty images output in GUI mode
Solution: return early in GUI mode (Foxe Chen).
closes: #20502
Signed-off-by: Foxe Chen <
chen...@gmail.com>
Signed-off-by: Christian Brabandt <
c...@256bit.org>
diff --git a/src/popupwin.c b/src/popupwin.c
index 94ffe8939..3d427b5a6 100644
--- a/src/popupwin.c
+++ b/src/popupwin.c
@@ -7010,6 +7010,10 @@ popup_image_clear_kitty(win_T *wp)
{
char_u *seq;
+# ifdef FEAT_GUI
+ if (gui.in_use)
+ return;
+# endif
if (wp == NULL || wp->w_popup_image_data == NULL || wp->w_id <= 0)
return;
if (popup_image_backend() != IMAGE_BACKEND_KITTY)
diff --git a/src/version.c b/src/version.c
index 4d961bdeb..7f2591dfe 100644
--- a/src/version.c
+++ b/src/version.c
@@ -754,6 +754,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 630,
/**/
629,
/**/