Guard against internal window being null when dispatching tablet events

Tablet focus updates can be blocked while the tip or a button is pressed down. If an internal window is closed in meanwhile, kwin may crash due to dereferencing a null pointer.

BUG: 506886

Merge request reports

Loading