diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-09-06 07:25:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-06 07:25:01 +0200 |
commit | 51808a244ecaa0a40b4e8280938333d2792d8422 (patch) | |
tree | 722b303136a2dec83f3f4f14ee0b5d3aa62fa559 /src/nvim/ex_getln.c | |
parent | 82795c2c3a429b2725af882cad4317bed8f1b741 (diff) | |
parent | b9d6bda53126433cbb251b47d8788d92cda9e6e4 (diff) | |
download | rneovim-51808a244ecaa0a40b4e8280938333d2792d8422.tar.gz rneovim-51808a244ecaa0a40b4e8280938333d2792d8422.tar.bz2 rneovim-51808a244ecaa0a40b4e8280938333d2792d8422.zip |
Merge #7221 from justinmk/ev-focusgained
tui: schedule event instead of <FocusGained> pseudokey
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r-- | src/nvim/ex_getln.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c index 5e216925df..fd7ad7a4b5 100644 --- a/src/nvim/ex_getln.c +++ b/src/nvim/ex_getln.c @@ -1620,14 +1620,6 @@ static int command_line_handle_key(CommandLineState *s) } return command_line_not_changed(s); - case K_FOCUSGAINED: // Neovim has been given focus - apply_autocmds(EVENT_FOCUSGAINED, NULL, NULL, false, curbuf); - return command_line_not_changed(s); - - case K_FOCUSLOST: // Neovim has lost focus - apply_autocmds(EVENT_FOCUSLOST, NULL, NULL, false, curbuf); - return command_line_not_changed(s); - default: // Normal character with no special meaning. Just set mod_mask // to 0x0 so that typing Shift-Space in the GUI doesn't enter |