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

XdgTopLevel: Don't check parent pointer against None but ffi.NULL #184

Merged
merged 1 commit into from
May 5, 2024

Conversation

heuer
Copy link
Contributor

@heuer heuer commented Apr 25, 2024

XdgTopLevel.parent returned always a parent even if the underlying _ptr.parent refers to NULL.
Replaced the check against None with a check against ffi.NULL.

Closes #183.

XdgTopLevel.parent returned always a parent even if the underlying
_ptr.parent refers to NULL.
Replaced the check against None with a check against ffi.NULL.

Closes flacjacket#183.
@flacjacket flacjacket merged commit aa3da66 into flacjacket:main May 5, 2024
35 checks passed
@heuer heuer deleted the issue_183_toplevel_parent branch May 5, 2024 07:47
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.

XdgTopLevel: Incorrect check of the pointer, a parent is always returned
2 participants