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

Ensure Linux IsFullScreen uses GDK_WINDOW_STATE_FULLSCREEN bitmask appropriately. #1245

Merged
merged 1 commit into from
Mar 11, 2022

Conversation

ianmjones
Copy link
Contributor

Resolves #1244

The GDK_WINDOW_STATE_FULLSCREEN bitmask was not being used properly in C.IsFullScreen, and because other states such as GDK_WINDOW_STATE_FOCUSED could also be in play, Window.IsFullScreen needs to check for non-zero rather than one as the C.IsFullScreen result.

@leaanthony leaanthony merged commit 64480ff into wailsapp:master Mar 11, 2022
@leaanthony
Copy link
Member

Amazing! 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.

[v2,Linux] Calling runtime.WindowUnfullscreen from a button does not work
2 participants