comparison src/normal.c @ 8651:8a106a24d128 v7.4.1615

commit https://github.com/vim/vim/commit/829c8e369630a7cbbdac015d8177b7fde25e2f19 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 19 23:07:23 2016 +0100 patch 7.4.1615 Problem: Build fails with tiny features. Solution: Adjust #ifdefs.
author Christian Brabandt <cb@256bit.org>
date Sat, 19 Mar 2016 23:15:04 +0100
parents 24b43dd167eb
children face93b02af4
comparison
equal deleted inserted replaced
8650:4feaa149926c 8651:8a106a24d128
2778 */ 2778 */
2779 jump_flags = jump_to_mouse(jump_flags, 2779 jump_flags = jump_to_mouse(jump_flags,
2780 oap == NULL ? NULL : &(oap->inclusive), which_button); 2780 oap == NULL ? NULL : &(oap->inclusive), which_button);
2781 moved = (jump_flags & CURSOR_MOVED); 2781 moved = (jump_flags & CURSOR_MOVED);
2782 in_status_line = (jump_flags & IN_STATUS_LINE); 2782 in_status_line = (jump_flags & IN_STATUS_LINE);
2783 #ifdef FEAT_WINDOWS
2783 in_sep_line = (jump_flags & IN_SEP_LINE); 2784 in_sep_line = (jump_flags & IN_SEP_LINE);
2785 #endif
2784 2786
2785 #ifdef FEAT_NETBEANS_INTG 2787 #ifdef FEAT_NETBEANS_INTG
2786 if (isNetbeansBuffer(curbuf) 2788 if (isNetbeansBuffer(curbuf)
2787 && !(jump_flags & (IN_STATUS_LINE | IN_SEP_LINE))) 2789 && !(jump_flags & (IN_STATUS_LINE | IN_SEP_LINE)))
2788 { 2790 {
3014 drag_status_line = TRUE; 3016 drag_status_line = TRUE;
3015 update_mouseshape(-1); 3017 update_mouseshape(-1);
3016 } 3018 }
3017 #endif 3019 #endif
3018 } 3020 }
3021 #ifdef FEAT_WINDOWS
3019 else if (in_sep_line) 3022 else if (in_sep_line)
3020 { 3023 {
3021 # ifdef FEAT_MOUSESHAPE 3024 # ifdef FEAT_MOUSESHAPE
3022 if ((is_drag || is_click) && !drag_sep_line) 3025 if ((is_drag || is_click) && !drag_sep_line)
3023 { 3026 {
3024 drag_sep_line = TRUE; 3027 drag_sep_line = TRUE;
3025 update_mouseshape(-1); 3028 update_mouseshape(-1);
3026 } 3029 }
3027 # endif 3030 # endif
3028 } 3031 }
3032 #endif
3029 else if ((mod_mask & MOD_MASK_MULTI_CLICK) && (State & (NORMAL | INSERT)) 3033 else if ((mod_mask & MOD_MASK_MULTI_CLICK) && (State & (NORMAL | INSERT))
3030 && mouse_has(MOUSE_VISUAL)) 3034 && mouse_has(MOUSE_VISUAL))
3031 { 3035 {
3032 if (is_click || !VIsual_active) 3036 if (is_click || !VIsual_active)
3033 { 3037 {