Mercurial > vim
comparison src/vim.h @ 24850:f8906bd5b277 v8.2.2963
patch 8.2.2963: GUI: mouse move may start Visual mode with a popup visible
Commit: https://github.com/vim/vim/commit/445f11d5bcfddfa194ebd12b029228c7e957f94c
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jun 8 20:13:31 2021 +0200
patch 8.2.2963: GUI: mouse move may start Visual mode with a popup visible
Problem: GUI: mouse move may start Visual mode with a popup visible.
Solution: Add special code for mouse move. (closes https://github.com/vim/vim/issues/8318)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 08 Jun 2021 20:15:05 +0200 |
parents | 1ce39e257f1b |
children | e8451dc0d643 |
comparison
equal
deleted
inserted
replaced
24849:a63c6581af98 | 24850:f8906bd5b277 |
---|---|
1857 #define MOUSE_X2 0x400 // Mouse-button X2 | 1857 #define MOUSE_X2 0x400 // Mouse-button X2 |
1858 | 1858 |
1859 #define MOUSE_6 0x500 // scroll wheel left | 1859 #define MOUSE_6 0x500 // scroll wheel left |
1860 #define MOUSE_7 0x600 // scroll wheel right | 1860 #define MOUSE_7 0x600 // scroll wheel right |
1861 | 1861 |
1862 #define MOUSE_MOVE 0x700 // report mouse moved | |
1863 | |
1862 // 0x20 is reserved by xterm | 1864 // 0x20 is reserved by xterm |
1863 #define MOUSE_DRAG_XTERM 0x40 | 1865 #define MOUSE_DRAG_XTERM 0x40 |
1864 | 1866 |
1865 #define MOUSE_DRAG (0x40 | MOUSE_RELEASE) | 1867 #define MOUSE_DRAG (0x40 | MOUSE_RELEASE) |
1866 | 1868 |