flacjacket / pywlroots

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

Fixed Renderer.autocreate() return value check #196

Closed heuer closed 6 months ago

heuer commented 6 months ago

autocreate() checked the return value of lib.wlr_renderer_autocreate() against a truth value not ffi.NULL.

Closes #195

jwijenbergh commented 6 months ago

want me to cherry-pick this to the wlr 0.17 branch?

heuer commented 6 months ago

It was meant for 0.16.9 but it has to be added to 0.17 anyway. Feel free to integrate it now. There is also #190 which may affect 0.17 as well (haven't checked yet)