comparison src/testing.c @ 18354:9f51d0cef8da v8.1.2171

patch 8.1.2171: mouse support not always available Commit: https://github.com/vim/vim/commit/a1cb1d1dce14dd005797590721f1bcd0e7c3b35f Author: Bram Moolenaar <Bram@vim.org> Date: Thu Oct 17 23:00:07 2019 +0200 patch 8.1.2171: mouse support not always available Problem: Mouse support not always available. Solution: Enable mouse support also in tiny version. Do not define FEAT_MOUSE_XTERM on MS-Windows (didn't really work).
author Bram Moolenaar <Bram@vim.org>
date Thu, 17 Oct 2019 23:15:04 +0200
parents cb008de2a6ec
children 7e7ec935e7c8
comparison
equal deleted inserted replaced
18353:c3a0f5d3c9d4 18354:9f51d0cef8da
924 exec_normal(FALSE, TRUE, FALSE); 924 exec_normal(FALSE, TRUE, FALSE);
925 # endif 925 # endif
926 } 926 }
927 #endif 927 #endif
928 928
929 #ifdef FEAT_MOUSE
930 void 929 void
931 f_test_setmouse(typval_T *argvars, typval_T *rettv UNUSED) 930 f_test_setmouse(typval_T *argvars, typval_T *rettv UNUSED)
932 { 931 {
933 mouse_row = (time_t)tv_get_number(&argvars[0]) - 1; 932 mouse_row = (time_t)tv_get_number(&argvars[0]) - 1;
934 mouse_col = (time_t)tv_get_number(&argvars[1]) - 1; 933 mouse_col = (time_t)tv_get_number(&argvars[1]) - 1;
935 } 934 }
936 #endif
937 935
938 void 936 void
939 f_test_settime(typval_T *argvars, typval_T *rettv UNUSED) 937 f_test_settime(typval_T *argvars, typval_T *rettv UNUSED)
940 { 938 {
941 time_for_testing = (time_t)tv_get_number(&argvars[0]); 939 time_for_testing = (time_t)tv_get_number(&argvars[0]);