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 crash #715

Merged
merged 3 commits into from
Sep 23, 2022
Merged

fix crash #715

merged 3 commits into from
Sep 23, 2022

Conversation

Dickby
Copy link
Contributor

@Dickby Dickby commented Sep 23, 2022

Describe your PR, what does it fix/add?

Fixes #711

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

I'm pretty shure this is not how you would do it!
there is a problem in toggleWindowGroup if that group is in fullscreen mode.
I think the pPrevious- and pNextGroupMember of the first window are set to nullptr, after that
the nextGroupMember calls getGroupMemberCount, but with a Pointer to a group member that
has it's next prev pointers nulled, getGroupMemberCount will crash.
Since it is a crashing bug, if you don't have time to fix it yourself, use this first?

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

I think yes.
It's not a big change, look at it, what could possibly go wrong!?

@vaxerski vaxerski merged commit 718de0d into hyprwm:main Sep 23, 2022
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.

New crash!
2 participants