Mercurial > vim
comparison src/keymap.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 | 6d50182e7e24 |
children | a9eeb18e749c |
comparison
equal
deleted
inserted
replaced
24849:a63c6581af98 | 24850:f8906bd5b277 |
---|---|
271 , KE_CURSORHOLD = 96 // CursorHold event | 271 , KE_CURSORHOLD = 96 // CursorHold event |
272 , KE_NOP = 97 // doesn't do something | 272 , KE_NOP = 97 // doesn't do something |
273 , KE_FOCUSGAINED = 98 // focus gained | 273 , KE_FOCUSGAINED = 98 // focus gained |
274 , KE_FOCUSLOST = 99 // focus lost | 274 , KE_FOCUSLOST = 99 // focus lost |
275 , KE_MOUSEMOVE = 100 // mouse moved with no button down | 275 , KE_MOUSEMOVE = 100 // mouse moved with no button down |
276 , KE_CANCEL = 101 // return from vgetc() | 276 , KE_MOUSEMOVE_XY = 101 // KE_MOUSEMOVE with coordinates |
277 , KE_COMMAND = 102 // <Cmd> special key | 277 , KE_CANCEL = 102 // return from vgetc() |
278 , KE_COMMAND = 103 // <Cmd> special key | |
278 }; | 279 }; |
279 | 280 |
280 /* | 281 /* |
281 * the three byte codes are replaced with the following int when using vgetc() | 282 * the three byte codes are replaced with the following int when using vgetc() |
282 */ | 283 */ |