Skip to content

Add SDL_IsTraySupported #13124

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

Semphriss
Copy link
Contributor

Description

Allows detecting whether or not trays should be supported, without having to create a tray icon.

I added a note that it's not a guarantee that it will/won't work when calling SDL_CreateTray, and that the availability may vary with time.

Existing Issue(s)

Fixes #13119

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.

SDL_UnregisterTray unexpectedly triggers SDL_EVENT_QUIT event (Create/Destroy tray for feature detection)
1 participant