Skip to content

Conversation

@s4y
Copy link
Contributor

@s4y s4y commented Apr 10, 2017

Fixes #127 and #488. Please take a look! (cc @chdiza)

Choose how to resize the Vim view based on the full screen mode.

  • Native full screen: Use the last externally-set window size. This lets Split View work without slowly growing or shrinking.

  • Non-native full screen: Use the size of the full screen window.

  • Not full screen: Use [vimView desiredSize] (unchanged).

This is somewhat nasty, but the different full screen code paths behave differently enough that there doesn't seem to be one universally-correct answer. It would be great to simplify them.

- Native full screen: Use the last externally-set window size. This lets
  Split View work without slowly growing or shrinking.

- Non-native full screen: Use the size of the full screen window.

- Not full screen: Use [vimView desiredSize] (unchanged).

This is somewhat nasty, but the different full screen code paths behave
differently enough that there doesn't seem to be one universally-correct
answer. It would be great to simplify them.
@splhack splhack merged commit 23c70e0 into macvim-dev:master Apr 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants