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

Fix syncFullscreen inconsistent with state when set by fullscreenState #7343

Merged
merged 2 commits into from
Aug 15, 2024

Conversation

txkyel
Copy link
Contributor

@txkyel txkyel commented Aug 15, 2024

Describe your PR, what does it fix/add?

Changes in this PR ensure that fullscreenState always sets syncFulscreen to the correct value after dispatch regardless of the requested internal and client states.

Starting with the state 1 0 and syncFullscreen = false:

  • Dispatch 1 0, fullscreen state is set to 0 0, syncFullscreen remains true
  • Dispatch 1 -1, fullscreen state is set to 0 0, syncFullscreen was previously false
  • Dispatch -1 1, fullscreen state is set to 1 1, syncFullscreen was previously false
  • Dispatch 2 2, fullscreen state is set to 2 2, syncFullscreen was previously false

Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)

No

Is it ready for merging, or does it need work?

Ready for merge

@vaxerski
Copy link
Member

@MightyPlaza iirc as the original MR author

@vaxerski vaxerski merged commit 0c56be7 into hyprwm:main Aug 15, 2024
10 checks passed
@txkyel txkyel deleted the fix-syncfullscreen-value branch August 15, 2024 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants