From: Foxe Chen Date: Sat, 13 Jun 2026 17:31:40 +0000 (+0000) Subject: patch 9.2.0630: popup images: kitty images output in GUI mode X-Git-Tag: v9.2.0630^0 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5cbb74078fd1cb007e12b53acafa1ca3082e481d;p=thirdparty%2Fvim.git 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 Signed-off-by: Christian Brabandt --- diff --git a/src/popupwin.c b/src/popupwin.c index 94ffe89391..3d427b5a63 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 4d961bdebd..7f2591dfe1 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, /**/