10 Mar
2024
10 Mar
'24
8:51 a.m.
Sven Baars (@sbaars) commented about dlls/winemac.drv/cocoa_app.m:
+ } + + if (anyVisible) + *anyVisible = foundVisibleWindow; + + return NO; + } + + /* If there are no visible windows that should make the app have a dock icon + (other than the provided one), hides the dock icon. window may be nil. */ + - (void) maybeHideDockIconDueToWindowOrderingOut:(NSWindow *)window + { + BOOL anyVisibleWindows; + static int isMontereyOrLater = -1; + + if (isMontereyOrLater == -1) Is there a reason why we can't use `@available` in wine?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/5188#note_64145