changeset 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 e8a81e381ad2
children 3c51864309bc
files src/gui.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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