diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-09-02 11:35:14 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-09-05 15:01:06 +0200 |
commit | d30abd8857a41f439de01f8c0e6d1075acf124d9 (patch) | |
tree | cce39752eb468dc0a13285a357c05800d843ca82 /src/nvim/api/vim.c | |
parent | 46fdacc5b5abb05d49c0f16fe5ffc4ceb7795dee (diff) | |
download | rneovim-d30abd8857a41f439de01f8c0e6d1075acf124d9.tar.gz rneovim-d30abd8857a41f439de01f8c0e6d1075acf124d9.tar.bz2 rneovim-d30abd8857a41f439de01f8c0e6d1075acf124d9.zip |
eventloop: FocusGained: schedule the schedule
main_loop.fast_events does not manifest as K_EVENT, because it is
processed at a different stage than main_loop.events. In order to queue
into main_loop.events, we need to go through the threadsafe
loop_schedule(), which queues into main_loop.thread_events and
eventually main_loop.fast_events. _Then_ it is safe to directly queue
into main_loop.events.
This makes it more likely that the event is treated as K_EVENT.
Diffstat (limited to 'src/nvim/api/vim.c')
0 files changed, 0 insertions, 0 deletions