Skip to content

Make MMTitlebarAppearsTransparent option work on pre-Mojave #917

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 23, 2019

Conversation

ychin
Copy link
Member

@ychin ychin commented Jun 22, 2019

Added the special path to make tranparent titlebars work on pre-Mojave builds as well. It's annoying we have to two maintain separate code paths for how windows / titlebars work but this wasn't too hard to add. We just need to make sure to to set the background color on the window only when we have transparent titlebar set. Otherwise we don't want to do it because of weird interactions with textured window flag.

This addresses comments made in #888.

Added the special path to make tranparent titlebars work on pre-Mojave
builds as well. It's annoying we have to two maintain separate code
paths for how windows / titlebars work but this wasn't too hard to add.
We just need to make sure to to set the background color on the window
*only* when we have transparent titlebar set. Otherwise we don't want to
do it because of weird interactions with textured window flag.

This addresses comments made in macvim-dev#888.
@ychin ychin merged commit 6984f4e into macvim-dev:master Jun 23, 2019
@ychin ychin deleted the transparent-titlebar-pre-mojave branch June 23, 2019 05:54
@ychin ychin added this to the snapshot-157 milestone Jul 21, 2019
ychin added a commit to ychin/macvim that referenced this pull request Jul 21, 2019
Vim patch 8.1.1722

Features:

- Add 'MMDisableLaunchAnimation' option to disable the opening animation
  of MacVim Windows. macvim-dev#915
- Make 'MMTitlebarAppearsTransparent' work in pre-Mojave macOS versions.
  macvim-dev#917

Fixes:

- Fix issue where MacVim would freeze when opening a file already opened
  in another MacVim window when swap files are enabled. macvim-dev#913
- Menu items with name starting with ']' now properly get hidden in the
  main menu bar (see `:help hidden-menus`). macvim-dev#853

Targets macOS 10.8+

Script interfaces have compatibility with these versions:

- Lua 5.3
- Perl 5.18
- Python2 2.7
- Python3 3.7
- Ruby 2.6
ychin added a commit that referenced this pull request Jul 28, 2019
Vim patch 8.1.1722

Features:

- Add 'MMDisableLaunchAnimation' option to disable the opening animation
  of MacVim Windows. #915
- Make 'MMTitlebarAppearsTransparent' work in pre-Mojave macOS versions.
  #917

Fixes:

- Fix issue where MacVim would freeze when opening a file already opened
  in another MacVim window when swap files are enabled. #913
- Menu items with name starting with ']' now properly get hidden in the
  main menu bar (see `:help hidden-menus`). #853

Targets macOS 10.8+

Script interfaces have compatibility with these versions:

- Lua 5.3
- Perl 5.18
- Python2 2.7
- Python3 3.7
- Ruby 2.6
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.

1 participant