commit | 97cfe90de865e2b4bb7839dc6cdf7dbb4125c8cc | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Aug 06 20:42:30 2010 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Aug 06 20:42:30 2010 +0200 |
tree | b67934bd5e3711de042f1f116e6d7ad2e0785002 | |
parent | e90ee31c40e9056f276eb34ab967b30117b222d7 [diff] [blame] |
Call gui_mch_update() before triggering GuiEnter autocmd. (Ron Aaron)
diff --git a/src/gui.c b/src/gui.c index 20a48d4..90209be 100644 --- a/src/gui.c +++ b/src/gui.c
@@ -190,6 +190,7 @@ #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