Commit: patch 9.2.0942: test: test_mksession_winpos() fails on GTK4 UI

Christian Brabandt <[email protected]> Tue, 11 Aug 2026 21:45:05 +0200
Newsgroups gmane.editors.vim.devel
Message-ID <[email protected]>
patch 9.2.0942: test: test_mksession_winpos() fails on GTK4 UI

Commit: https://github.com/vim/vim/commit/a26ac23fe0df4da7e5068048546126df0f044ff2
Author: Foxe Chen <[email protected]>
Date:   Tue Aug 11 19:37:38 2026 +0000

    patch 9.2.0942: test: test_mksession_winpos() fails on GTK4 UI
    
    Problem:  test: test_mksession_winpos() fails on GTK4 UI
    Solution: Skip the test on GTK4, since winpos is not supported there
              (Foxe Chen)
    
    closes: #21010
    
    Signed-off-by: Foxe Chen <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/src/testdir/test_mksession.vim b/src/testdir/test_mksession.vim
index c11e8b849..5c191fffc 100644
--- a/src/testdir/test_mksession.vim
+++ b/src/testdir/test_mksession.vim
@@ -1106,6 +1106,7 @@ endfunc
 func Test_mksession_winpos()
   " Only applicable in GUI Vim
   CheckGui
+  CheckNotFeature gui_gtk4 " window position does not work in gtk4 gui
 
   set sessionoptions+=winpos
   mksession! Xtest_mks.out
diff --git a/src/version.c b/src/version.c
index 103220d09..ee33eafee 100644
--- a/src/version.c
+++ b/src/version.c
@@ -763,6 +763,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    942,
 /**/
     941,
 /**/

-- 
-- 
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/E1wtsPJ-007bWw-2o%40256bit.org.