Skip to content

cherry-pick: xwayland: Send to xwayland even when no window is focussed

David Edmundson requested to merge work/d_ed/xkeys_backport into Plasma/6.0

In the codepath to keep xwayland notified of key presses we have to check the focussed window is not already an xwayland client. To avoid a null dereference a guard is added that the focussed window is not null, however the current code incorrectly returns early intead of skipping just the relevant check.

BUG: 478705

Merge request reports