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

snap: snap only to windows floating over top of fullscreen window if one exists #8870

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

myQwil
Copy link
Contributor

@myQwil myQwil commented Dec 27, 2024

Describe your PR, what does it fix/add?

Addresses #8647

If the dragging window is pinned, and the workspace of the dragging window has a fullscreen window, it won't snap to any windows that might be hidden underneath the fullscreen window.

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

Nope

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

Ready for merging

@myQwil myQwil changed the title snap: don't snap to any windows if workspace has a fullscreen window WIP: snap: don't snap to any windows if workspace has a fullscreen window Dec 27, 2024
@myQwil myQwil changed the title WIP: snap: don't snap to any windows if workspace has a fullscreen window snap: don't snap to any windows if workspace has a fullscreen window Jan 4, 2025
@myQwil myQwil changed the title snap: don't snap to any windows if workspace has a fullscreen window snap: don't snap to any unpinned windows if workspace has a fullscreen window Jan 4, 2025
@vaxerski
Copy link
Member

vaxerski commented Jan 5, 2025

what if the window is above the fullscreen one thoigh?

@myQwil
Copy link
Contributor Author

myQwil commented Jan 5, 2025

Would m_bCreatedOverFullscreen work?

@myQwil myQwil changed the title snap: don't snap to any unpinned windows if workspace has a fullscreen window snap: snap only to windows floating over top of fullscreen window if one exists Jan 5, 2025
@vaxerski
Copy link
Member

vaxerski commented Jan 6, 2025

yes

@vaxerski vaxerski merged commit 602d6b7 into hyprwm:main Jan 6, 2025
11 checks passed
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.

2 participants