File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2053,20 +2053,20 @@ set_termname(char_u *term)
20532053 set_mouse_termcode (KS_MOUSE , (char_u * )"\233M" );
20542054#endif
20552055
2056- #if (defined( UNIX ) || defined( VMS ))
2056+ #ifdef FEAT_MOUSE_XTERM
20572057 // focus reporting is supported by xterm compatible terminals and tmux.
20582058 if (use_xterm_like_mouse (term ))
20592059 {
20602060 char_u name [3 ];
2061- name [0 ] = (int )KS_EXTRA ;
2062- name [2 ] = NUL ;
20632061
20642062 // handle focus in event
2065- name [1 ] = (int )KE_FOCUSGAINED ;
2063+ name [0 ] = KS_EXTRA ;
2064+ name [1 ] = KE_FOCUSGAINED ;
2065+ name [2 ] = NUL ;
20662066 add_termcode (name , (char_u * )"\033[I" , FALSE);
20672067
20682068 // handle focus out event
2069- name [1 ] = ( int ) KE_FOCUSLOST ;
2069+ name [1 ] = KE_FOCUSLOST ;
20702070 add_termcode (name , (char_u * )"\033[O" , FALSE);
20712071
20722072 focus_mode = TRUE;
Original file line number Diff line number Diff line change @@ -750,6 +750,8 @@ static char *(features[]) =
750750
751751static int included_patches [] =
752752{ /* Add new patch number below this line */
753+ /**/
754+ 2358 ,
753755/**/
754756 2357 ,
755757/**/
You can’t perform that action at this time.
0 commit comments