Sometimes an artist may not want accidentally change the window focus when they are drawing. It would be better if there is an option to disable window activation policy (Click to focus...) for stylus.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/1696
As the merge request is closed, is this still needed?