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

WClient destroy before its wl_surface #479

Open
zccrs opened this issue Sep 3, 2024 · 0 comments
Open

WClient destroy before its wl_surface #479

zccrs opened this issue Sep 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@zccrs
Copy link
Contributor

zccrs commented Sep 3, 2024

WClient use wl_client_add_destroy_listener, but wlroots's xdg shell using wl_resource_set_implementation to handle the wl_client destroy, xdg shell will handle wl_client destroy after WClient destroy, lead to xdg surfaces destroy after WClient, can't get a valid WClient for xdg surface destroy handler on compositor.

Should ensure the WClient destroy after all surfaces of the client.

@zccrs zccrs added the bug Something isn't working label Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant