0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 9.1.0457: tests: test_gui fails on Wayland

v:windowid is set in GUI buils with Wayland

Problem:  tests: test_gui fails on Wayland
          (after: 9.1.0064, Gary Johnson)
Solution: drop the "empty($WAYLAND_DISPLAY)" condition in the test

fixes: #14886

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2024-06-01 20:55:09 +02:00
parent 88d4f255b7
commit e5bc2e4bc9
3 changed files with 5 additions and 3 deletions

View File

@@ -899,7 +899,7 @@ func Test_set_term()
endfunc
func Test_windowid_variable()
if (g:x11_based_gui && empty($WAYLAND_DISPLAY)) || has('win32')
if g:x11_based_gui || has('win32')
call assert_true(v:windowid > 0)
else
call assert_equal(0, v:windowid)

View File

@@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
457,
/**/
456,
/**/