diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-06-02 14:30:04 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-06-02 14:30:04 +0200 |
commit | 4231da403e3c879dd6ac261e51f4ca60813935e3 (patch) | |
tree | d0c43a8b05ae0a727db41ac821ffc36df6d37880 /src/globals.h | |
parent | c4bc0e6542185b659d2a165b635f9561549071ea (diff) | |
download | vim-git-4231da403e3c879dd6ac261e51f4ca60813935e3.tar.gz |
patch 7.4.1873v7.4.1873
Problem: When a callback adds a timer the GUI doesn't use it until later.
(Ramel Eshed)
Solution: Return early if a callback adds a timer.
Diffstat (limited to 'src/globals.h')
-rw-r--r-- | src/globals.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h index 369eb546e..2e84e579c 100644 --- a/src/globals.h +++ b/src/globals.h @@ -1635,6 +1635,10 @@ EXTERN int disable_char_avail_for_testing INIT(= 0); EXTERN int in_free_unref_items INIT(= FALSE); #endif +#ifdef FEAT_TIMERS +EXTERN int did_add_timer INIT(= FALSE); +#endif + /* * Optional Farsi support. Include it here, so EXTERN and INIT are defined. */ |