aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_getln.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-08-28 01:27:57 +0200
committerJustin M. Keyes <justinkz@gmail.com>2017-09-05 15:01:06 +0200
commitb6b6e4a96f37ba6a54d194ecbc042d5ef7d595e6 (patch)
treea2325b8f194daceab79e038ea58105634b4d48d9 /src/nvim/ex_getln.c
parentce852bab04c63262ce8545c01a4ff4fc827148a1 (diff)
downloadrneovim-b6b6e4a96f37ba6a54d194ecbc042d5ef7d595e6.tar.gz
rneovim-b6b6e4a96f37ba6a54d194ecbc042d5ef7d595e6.tar.bz2
rneovim-b6b6e4a96f37ba6a54d194ecbc042d5ef7d595e6.zip
eventloop: FocusGained: schedule event instead of pseudokey
closes #4840 closes #6164
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r--src/nvim/ex_getln.c8
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