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: allow resetting fullscreen client to nullptr #129

Conversation

yury-s
Copy link
Contributor

@yury-s yury-s commented Nov 7, 2023

To avoid crashes like https://bugs.webkit.org/show_bug.cgi?id=264360 we need to reset wpe backend clients (see this PR) and the assert in wpe_view_backend_set_fullscreen_clientdid not allow that.

src/view-backend.c Outdated Show resolved Hide resolved
@mcatanzaro
Copy link
Contributor

Can you squash your changes into one commit please?

@yury-s yury-s force-pushed the allow-resetting-fullscreen-client branch from 7564ae7 to 5172090 Compare November 8, 2023 16:40
@yury-s
Copy link
Contributor Author

yury-s commented Nov 8, 2023

Can you squash your changes into one commit please?

Done. We usually rely on GitHub doing it, which is why I just pushed one on top.

@yury-s yury-s requested a review from mcatanzaro November 8, 2023 20:58
@mcatanzaro
Copy link
Contributor

Looks good now, but I'm not a maintainer so can't merge.

Copy link
Contributor

@aperezdc aperezdc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yury-s I agree with allowing setting the fullscreen client to a null value, it makes sense. Could you take a look at the comment about changing the documentation annotations before merging? Thanks!

src/view-backend.c Show resolved Hide resolved
@yury-s yury-s force-pushed the allow-resetting-fullscreen-client branch from 5172090 to 8b6fd3d Compare November 9, 2023 23:11
@yury-s yury-s requested a review from aperezdc November 9, 2023 23:12
Copy link
Contributor

@aperezdc aperezdc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yury-s Great, thanks for the documentation fixup!

@aperezdc aperezdc merged commit 2f0e0d6 into WebPlatformForEmbedded:master Nov 9, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants