mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-07 15:37:14 +02:00
Fix for 'set fu' in gvimrc
It is now possible to enter full screen on startup by setting the option 'fullscreen' in gvimrc.
This commit is contained in:
+1
-1
@@ -7759,7 +7759,7 @@ set_bool_option(opt_idx, varp, value, opt_flags)
|
||||
|
||||
#ifdef FEAT_FULLSCREEN
|
||||
/* when 'fullscreen' changes, forward it to the gui */
|
||||
else if ((int *)varp == &p_fullscreen && gui.in_use)
|
||||
else if ((int *)varp == &p_fullscreen && (gui.in_use || gui.starting))
|
||||
{
|
||||
if (p_fullscreen && !old_value)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user