flacjacket / pywlroots

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

Fixed Renderer.autocreate() return value check #196

Closed heuer closed 4 months ago

heuer commented 4 months ago

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

Closes #195

jwijenbergh commented 4 months ago

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

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