diff --git a/src/MacVim/MMFullscreenWindow.m b/src/MacVim/MMFullscreenWindow.m index 717b8c26d6..57df0704ef 100644 --- a/src/MacVim/MMFullscreenWindow.m +++ b/src/MacVim/MMFullscreenWindow.m @@ -137,7 +137,7 @@ static int numFullscreenWindows = 0; int fuRows = currRows, fuColumns = currColumns; int maxRows, maxColumns; - NSSize size = [[self screen] frame].size; + NSSize size = [[self screen] visibleFrame].size; [view constrainRows:&maxRows columns:&maxColumns toSize:size]; // Store current pre-fu vim size