Non Native Full Screen :q bug

Steps to reproduce

Ensure you have non-native full screen enabled

  1. set fu
  2. :q
  3. Notice black screen
CleanShot.2024-12-20.at.15.05.38.mp4

Expected behaviour

Window should be closed

Version of Vim and architecture

9.1.873

Environment

macOS: 14.7.2 (23H311)

How MacVim was installed

Built from source

Logs and stack traces

No response

Vim configuration where issue is reproducable

No response

Issue has been tested with given configuration

  • by running MacVim.app from GUI macOS interface
  • by running vim/gvim/etc installed by MacVim
  • by running other versions of vim (e.g. /usr/bin/vim)

Issue has been tested with no configuration

  • by running mvim --clean (or gvim, supplied by MacVim distribution)
  • by running vim --clean (in terminal, supplied by MacVim distribution)
  • by running vim --clean (in terminal, other suppliers, e.g. /usr/bin/vim)

Other conditions

  • The both Homebrew packages "vim" and "macvim" are installed