Skip to content

wayland: Track current tablet tool focus surface

We did not track the current surface (i.e. the logical focus) too thoroughly, so there might be chances that a stale surface pointer here becomes the focus. Track its destruction (like it's done at e.g. MetaWaylandPointer) and unset the current surface early, in order to avoid possible invalid memory access.

Closes: #3372 (closed)

Merge request reports