flacjacket / pywlroots

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

tinywl: Handle destroy keyboard #142

Open heuer opened 8 months ago

heuer commented 8 months ago

The tinywl example is not listening to destroy events of input devices, so the TinywlServer.keyboards list is growing but not shrinking if a keyboard gets destroyed

heuer commented 8 months ago

See https://gitlab.freedesktop.org/wlroots/wlroots/-/blob/master/tinywl/tinywl.c#L272 and https://gitlab.freedesktop.org/wlroots/wlroots/-/blob/master/tinywl/tinywl.c#L234