Skip to content

xtest: Check whether there is a sendEventsProc to call

If a client tries to send XTEST events while there is no sendEventsProc defined for the given device, Xwayland would call into 0x0 and crash.

Make sure the handler is defined before trying to us eit, to avoid the crash.

Closes: #1574 (closed)

Merge request reports