flacjacket / pywlroots

Python binding to the wlroots library using cffi
University of Illinois/NCSA Open Source License
53 stars 14 forks source link

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

Closed heuer closed 6 months ago

heuer commented 7 months ago

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.