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

wl: Only use xdg-decoration if it's supported by the compositor #717

Merged
merged 1 commit into from
Jun 14, 2024

Conversation

mnme
Copy link
Contributor

@mnme mnme commented Jun 13, 2024

Using the xdg-compositor protocol on a compositor that doesn't support it produces a segfault. Guard against this.

@TingPing TingPing enabled auto-merge (rebase) June 13, 2024 22:36
@TingPing
Copy link
Member

CI suggests some minor code style changes, otherwise LGTM.

auto-merge was automatically disabled June 13, 2024 22:43

Head branch was pushed to by a user without write access

@mnme mnme force-pushed the xdg-decoration-safeguard branch from 426b10b to d0fe7e8 Compare June 13, 2024 22:43
@TingPing TingPing enabled auto-merge (rebase) June 13, 2024 22:44
@mnme
Copy link
Contributor Author

mnme commented Jun 13, 2024

Thanks, I amended the necessary changes. Already thought the line has gotten a bit long, good to know you have a style checker script. Might be worth to mention that in the contribution guide.

@TingPing TingPing merged commit 42b00d7 into Igalia:master Jun 14, 2024
5 checks passed
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.

2 participants