Mercurial > vim
comparison src/gui_w48.c @ 7109:fa95595fbc52 v7.4.866
commit https://github.com/vim/vim/commit/93c88e0f6a4a8f7634ed84721daf4af46fc0d5db
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Sep 15 14:12:05 2015 +0200
patch 7.4.866
Problem: Crash when changing the 'tags' option from a remote command.
(Benjamin Fritz)
Solution: Instead of executing messages immediately, use a queue, like for
netbeans. (James Kolb)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 15 Sep 2015 14:15:05 +0200 |
parents | 5f24d6d51333 |
children | ec89519dfeea |
comparison
equal
deleted
inserted
replaced
7108:917ffa98aeeb | 7109:fa95595fbc52 |
---|---|
2014 (void)SetActiveWindow(s_hwnd); | 2014 (void)SetActiveWindow(s_hwnd); |
2015 #endif | 2015 #endif |
2016 s_need_activate = FALSE; | 2016 s_need_activate = FALSE; |
2017 } | 2017 } |
2018 | 2018 |
2019 #ifdef FEAT_NETBEANS_INTG | 2019 #ifdef MESSAGE_QUEUE |
2020 /* Process the queued netbeans messages. */ | 2020 parse_queued_messages(); |
2021 netbeans_parse_messages(); | |
2022 #endif | 2021 #endif |
2023 | 2022 |
2024 /* | 2023 /* |
2025 * Don't use gui_mch_update() because then we will spin-lock until a | 2024 * Don't use gui_mch_update() because then we will spin-lock until a |
2026 * char arrives, instead we use GetMessage() to hang until an | 2025 * char arrives, instead we use GetMessage() to hang until an |