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

apply group rules after window creation #8779

Merged
merged 2 commits into from
Dec 19, 2024
Merged

Conversation

Aqa-Ib
Copy link
Contributor

@Aqa-Ib Aqa-Ib commented Dec 19, 2024

Describe your PR, what does it fix/add?

Fixes a crash that happens when:

  1. you have this window rule: windowrulev2 = group set, class:.*
  2. open an xwayland program that remains on tray when the window is closed, for example: discord or steam.
  3. close the window.
  4. open it again from tray or from your launcher.
  5. hyprland crashes.

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

I don't know the root reason of why this happens. It does not reproduce with a native wayland program that close to tray (crow-translate).

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

Ready.

@vaxerski vaxerski merged commit fd67ee9 into hyprwm:main Dec 19, 2024
11 checks passed
vaxerski pushed a commit that referenced this pull request Dec 19, 2024
* apply group rules after window creation

* clang-format
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