Skip to content

tablet: Check if client is supported before sending tool button

KWin did not check tool->isClientSupported() before calling tool->sendButton(). Because of this, it could crash with a segfault in wl_resource_post_event if resource was null.

This solves 438010 - kwin crashes when clicking on MPV with a pen.

Merge request reports

Loading