flacjacket / pywlroots

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

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

Closed heuer closed 4 months ago

heuer commented 4 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.