mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-11 15:37:29 +02:00
Transparency setting not lost after leaving full-screen
Fixes bug where setting 'transp' while in full-screen and switching back to windowed mode would result in the window being opaque.
This commit is contained in:
committed by
Bjorn Winckler
parent
3910f20697
commit
7792c4e8ab
@@ -367,7 +367,9 @@
|
||||
// NOTE: This is called when the transparency changes so set the opacity
|
||||
// flag on the window here (should be faster if the window is opaque).
|
||||
BOOL isOpaque = [back alphaComponent] == 1.0f;
|
||||
[[self window] setOpaque:isOpaque];
|
||||
[decoratedWindow setOpaque:isOpaque];
|
||||
if (fullscreenEnabled)
|
||||
[fullscreenWindow setOpaque:isOpaque];
|
||||
|
||||
[vimView setDefaultColorsBackground:back foreground:fore];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user