diff --git a/src/gui.c b/src/gui.c index 20a48d497521b29bd30209d6ad3ebac2ebde867d..90209bedcf507af8e84051dee4f4c26327858237 100644 --- a/src/gui.c +++ b/src/gui.c @@ -190,6 +190,7 @@ gui_start() #ifdef FEAT_AUTOCMD /* If the GUI started successfully, trigger the GUIEnter event, otherwise * the GUIFailed event. */ + gui_mch_update(); apply_autocmds(gui.in_use ? EVENT_GUIENTER : EVENT_GUIFAILED, NULL, NULL, FALSE, curbuf); #endif