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

events: update render data after workspace window rule #4931

Merged
merged 1 commit into from Mar 2, 2024

Conversation

JManch
Copy link
Contributor

@JManch JManch commented Mar 2, 2024

Describe your PR, what does it fix/add?

This fixes workspace rules not applying to windows that match both a float window rule and a workspace window rule.

The problem was that updateSpecialRenderData got called before the workspace rule was applied (so the workspace ID was outdated). This wasn't a problem for non-floating windows because the dwindle/master layout code calls updateSpecialRenderData again when the window tiles.

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

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!

I am a baller

@vaxerski vaxerski merged commit 508262b into hyprwm:main Mar 2, 2024
11 checks passed
@JManch JManch deleted the workspace-rule-fix branch March 2, 2024 22:25
lisuke pushed a commit to lisuke/Hyprland that referenced this pull request Apr 15, 2024
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.

None yet

2 participants