We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4809

Summary: [Patch] Mac: SDL_WINDOW_ALWAYS_ON_TOP support
Product: SDL Reporter: Gabriel Formiga <gabriel.formiga>
Component: videoAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: icculus
Version: HG 2.1Keywords: target-2.0.12
Hardware: x86_64   
OS: macOS 10.14   
Attachments: Source modification

Description Gabriel Formiga 2019-09-27 15:26:15 UTC
Created attachment 3974 [details]
Source modification

This patch makes SDL_WINDOW_ALWAYS_ON_TOP flag work for macOS (cocoawindow). Have been using it for some months without any problems. Let me know if there's something I may improve.

Thanks.
Comment 1 Ryan C. Gordon 2019-10-15 04:59:35 UTC
This patch is now https://hg.libsdl.org/SDL/rev/db75a1e3f740, thanks!

--ryan.