Skip to content

wayland: Cancel selections if set without focus

Vlad Zahorodnii requested to merge work/cherry-pick-46cad20e into Plasma/5.27

Otherwise we confused clients in the following situation: Client A sets selection, but due to timing has lost focus User copies something in client B Client later tries to paste in client A. Client A still thinks it owns the selection so does nothing.

CCBUG: 459389

(cherry picked from commit 46cad20e)

Merge request reports