issues
search
flacjacket
/
pywlroots
Python binding to the wlroots library using cffi
University of Illinois/NCSA Open Source License
53
stars
14
forks
source link
Minor keyboard handling improvements
#114
Closed
m-col
closed
1 year ago
m-col
commented
1 year ago
Check whether a keyboard is NULL before accessing its modifier state, to avoid a compositor crash
drop the
keyboard.destroyed
property. It doesn't work if you have as the pointer being NULL is not the same as the wlr_keyboard being destroyed.
make the return type of
seat.keyboard
Keyboard | NULL
as a seat might not have an active keyboard.
keyboard.destroyed
property. It doesn't work if you have as the pointer being NULL is not the same as the wlr_keyboard being destroyed.seat.keyboard
Keyboard | NULL
as a seat might not have an active keyboard.