patch 9.2.0630: popup images: kitty images output in GUI mode
Commit:
https://github.com/vim/vim/commit/5cbb74078fd1cb007e12b53acafa1ca3082e481d
Author: Foxe Chen <[email protected]>
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 <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
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,
/**/
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1wYSPo-00DMAI-30%40256bit.org.