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 movefocus fallback for special workspaces #9040

Merged
merged 1 commit into from
Jan 12, 2025
Merged

Conversation

alyanser
Copy link
Contributor

@alyanser alyanser commented Jan 12, 2025

Describe your PR, what does it fix/add?

movefocus on a special workspace does not behave as expected when focus fallback is required.

Currently, if there's a window in the workspace beneath the special workspace, it will move focus to that and if there's no window beneath, it won't do anything. What it should be doing instead is just rotate focus on the special workspace only.

This happens because while calling getWindowInDirection, the case of special workspace being present on current monitor is not handled. The fix is just to handle it.

Fixes #9020

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 to merge

Copy link
Member

@vaxerski vaxerski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@vaxerski vaxerski merged commit b117fae into hyprwm:main Jan 12, 2025
11 checks passed
Truenya pushed a commit to Truenya/Hyprland that referenced this pull request Jan 13, 2025
littleblack111 pushed a commit to littleblack111/Hyprland that referenced this pull request Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants