diff src/gui.c @ 2498:d156d5627487 vim73

Call gui_mch_update() before triggering GuiEnter autocmd. (Ron Aaron)
author Bram Moolenaar <bram@vim.org>
date Fri, 06 Aug 2010 20:42:30 +0200
parents 1a9c16dd76d4
children 6768ebd0bc04
line wrap: on
line diff
--- 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