patch 8.2.1107: 'imactivatefunc' and 'imstatusfunc' are not used in the GUI
Problem: 'imactivatefunc' and 'imstatusfunc' are not used in the GUI.
Solution: Adjust the #ifdefs. (closes #6367)
diff --git a/src/testdir/test_iminsert.vim b/src/testdir/test_iminsert.vim
index 04c8a15..1f19412 100644
--- a/src/testdir/test_iminsert.vim
+++ b/src/testdir/test_iminsert.vim
@@ -27,7 +27,7 @@
set imactivatefunc=
set imstatusfunc=
- let expected = has('gui_running') ? 0 : 1
+ let expected = has('gui_win32') ? 0 : 1
call assert_equal(expected, s:imactivatefunc_called)
call assert_equal(expected, s:imstatusfunc_called)
endfunc
@@ -38,10 +38,7 @@
elseif !has('gui_mac')
CheckFeature xim
endif
- if has('gui_running')
- if !has('win32')
- throw 'Skipped: running in the GUI, only works on MS-Windows'
- endif
+ if has('gui_win32')
set imactivatefunc=
set imstatusfunc=
else