From: Bram Moolenaar Date: Fri, 6 Aug 2010 18:42:30 +0000 (+0200) Subject: Call gui_mch_update() before triggering GuiEnter autocmd. (Ron Aaron) X-Git-Tag: v7.3~74 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=97cfe90de865e2b4bb7839dc6cdf7dbb4125c8cc;p=vim Call gui_mch_update() before triggering GuiEnter autocmd. (Ron Aaron) --- diff --git a/src/gui.c b/src/gui.c index 20a48d497..90209bedc 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