diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-08-28 01:27:57 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-09-05 15:01:06 +0200 |
commit | b6b6e4a96f37ba6a54d194ecbc042d5ef7d595e6 (patch) | |
tree | a2325b8f194daceab79e038ea58105634b4d48d9 /src/nvim/terminal.c | |
parent | ce852bab04c63262ce8545c01a4ff4fc827148a1 (diff) | |
download | rneovim-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/terminal.c')
-rw-r--r-- | src/nvim/terminal.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/nvim/terminal.c b/src/nvim/terminal.c index deec930ebd..1c764d302d 100644 --- a/src/nvim/terminal.c +++ b/src/nvim/terminal.c @@ -432,14 +432,6 @@ static int terminal_execute(VimState *state, int key) TerminalState *s = (TerminalState *)state; switch (key) { - case K_FOCUSGAINED: // nvim has been given focus - apply_autocmds(EVENT_FOCUSGAINED, NULL, NULL, false, curbuf); - break; - - case K_FOCUSLOST: // nvim has lost focus - apply_autocmds(EVENT_FOCUSLOST, NULL, NULL, false, curbuf); - break; - // Temporary fix until paste events gets implemented case K_PASTE: break; |