]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.2.0942: test: test_mksession_winpos() fails on GTK4 UI v9.2.0942
authorFoxe Chen <chen.foxe@gmail.com>
Tue, 11 Aug 2026 19:37:38 +0000 (19:37 +0000)
committerChristian Brabandt <cb@256bit.org>
Tue, 11 Aug 2026 19:37:38 +0000 (19:37 +0000)
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 <chen.foxe@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/test_mksession.vim
src/version.c

index c11e8b849c24a0a3e115ee3143e24f26d6b7adbb..5c191fffcdf69903f6752f3fb5a8136f8642843c 100644 (file)
@@ -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
index 103220d09f99d3ca4d17354f33923af2a6484965..ee33eafee2c9ce91213742ada0a82ec5fdced173 100644 (file)
@@ -763,6 +763,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    942,
 /**/
     941,
 /**/