mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
globals.h: Remove unused global variable
This commit is contained in:
parent
e114529972
commit
f3b06ba6d1
@ -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
|
||||
|
@ -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 */
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user