Mercurial > vim
diff src/gui.c @ 9836:bc591685594a v7.4.2193
commit https://github.com/vim/vim/commit/717e196060d946fe20bb0f0307f417dc4d0e9b17
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 10 21:28:44 2016 +0200
patch 7.4.2193
Problem: With Gnome when the GUI can't start test_startup hangs.
Solution: Call gui_mch_early_init_check(). (Hirohito Higashi)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 10 Aug 2016 21:30:07 +0200 |
parents | fe665dae7197 |
children | 664276833670 |
line wrap: on
line diff
--- a/src/gui.c +++ b/src/gui.c @@ -447,7 +447,7 @@ gui_init_check(void) * See gui_do_fork(). * Use a simpler check if the GUI window can probably be opened. */ - result = gui.dofork ? gui_mch_early_init_check() : gui_mch_init_check(); + result = gui.dofork ? gui_mch_early_init_check(TRUE) : gui_mch_init_check(); # else result = gui_mch_init_check(); # endif