]> granicus.if.org Git - vim/commitdiff
Call gui_mch_update() before triggering GuiEnter autocmd. (Ron Aaron)
authorBram Moolenaar <Bram@vim.org>
Fri, 6 Aug 2010 18:42:30 +0000 (20:42 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 6 Aug 2010 18:42:30 +0000 (20:42 +0200)
src/gui.c

index 20a48d497521b29bd30209d6ad3ebac2ebde867d..90209bedcf507af8e84051dee4f4c26327858237 100644 (file)
--- 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