globals.h: Remove unused global variable

This commit is contained in:
Steven Oliver 2015-01-02 10:26:01 -05:00
parent e114529972
commit f3b06ba6d1
3 changed files with 0 additions and 13 deletions

View File

@ -79,7 +79,6 @@
#define FEAT_BROWSE
#define FEAT_CSCOPE
#define FEAT_MOUSE
#define FEAT_MOUSE_DEC
#define FEAT_MOUSE_NET
#define FEAT_MOUSE_SGR
#define FEAT_MOUSE_TTY

View File

@ -497,14 +497,6 @@ EXTERN bool mouse_past_bottom INIT(= false); /* mouse below last line */
EXTERN bool mouse_past_eol INIT(= false); /* mouse right of line */
EXTERN int mouse_dragging INIT(= 0); /* extending Visual area with
mouse dragging */
/*
* When the DEC mouse has been pressed but not yet released we enable
* automatic querys for the mouse position.
*/
EXTERN int WantQueryMouse INIT(= FALSE);
/* Value set from 'diffopt'. */
EXTERN int diff_context INIT(= 6); /* context for folds */

View File

@ -3448,23 +3448,19 @@ int check_termcode(int max_offset, char_u *buf, int bufsize, int *buflen)
if (Pb) {
held_button = mouse_code;
mouse_code |= MOUSE_DRAG;
WantQueryMouse = TRUE;
}
is_drag = TRUE;
showmode();
break;
case 2: mouse_code = MOUSE_LEFT;
WantQueryMouse = TRUE;
break;
case 3: mouse_code = MOUSE_RELEASE | MOUSE_LEFT;
break;
case 4: mouse_code = MOUSE_MIDDLE;
WantQueryMouse = TRUE;
break;
case 5: mouse_code = MOUSE_RELEASE | MOUSE_MIDDLE;
break;
case 6: mouse_code = MOUSE_RIGHT;
WantQueryMouse = TRUE;
break;
case 7: mouse_code = MOUSE_RELEASE | MOUSE_RIGHT;
break;