mirror of
https://github.com/vim/vim.git
synced 2025-07-04 23:07:33 -04:00
Call gui_mch_update() before triggering GuiEnter autocmd. (Ron Aaron)
This commit is contained in:
parent
e90ee31c40
commit
97cfe90de8
@ -190,6 +190,7 @@ gui_start()
|
|||||||
#ifdef FEAT_AUTOCMD
|
#ifdef FEAT_AUTOCMD
|
||||||
/* If the GUI started successfully, trigger the GUIEnter event, otherwise
|
/* If the GUI started successfully, trigger the GUIEnter event, otherwise
|
||||||
* the GUIFailed event. */
|
* the GUIFailed event. */
|
||||||
|
gui_mch_update();
|
||||||
apply_autocmds(gui.in_use ? EVENT_GUIENTER : EVENT_GUIFAILED,
|
apply_autocmds(gui.in_use ? EVENT_GUIENTER : EVENT_GUIFAILED,
|
||||||
NULL, NULL, FALSE, curbuf);
|
NULL, NULL, FALSE, curbuf);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user