Skip to content
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

Exposing window always on top functionality #1314

Merged
merged 2 commits into from
Jul 3, 2023

Conversation

alvaro-sch
Copy link
Contributor

sdl2-sys has been updated since its latest release and exposes SDL_WINDOWS_ALWAYS_ON_TOP.

The documentation for SDL_WindowFlags says it's X11 only, but that's not the case anymore since it seems to be used in the windows and cocoa backends as well in the same tagged version of the headers currently used by sdl2-sys (I checked those arbitrarily so it may be supported by more plataforms).

Tested on Linux under X11 with version 2.26.5

@Cobrand Cobrand merged commit 8613c50 into Rust-SDL2:master Jul 3, 2023
@Cobrand
Copy link
Member

Cobrand commented Jul 3, 2023

Thanks!

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.

2 participants