summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-08-06 20:42:30 +0200
committerBram Moolenaar <Bram@vim.org>2010-08-06 20:42:30 +0200
commit97cfe90de865e2b4bb7839dc6cdf7dbb4125c8cc (patch)
treeb67934bd5e3711de042f1f116e6d7ad2e0785002
parente90ee31c40e9056f276eb34ab967b30117b222d7 (diff)
downloadvim-97cfe90de865e2b4bb7839dc6cdf7dbb4125c8cc.zip
Call gui_mch_update() before triggering GuiEnter autocmd. (Ron Aaron)
-rw-r--r--src/gui.c1
1 files changed, 1 insertions, 0 deletions
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