Client: Handle zwp_primary_selection_device_manager_v1 global removal

The zwp_primary_selection_device_manager_v1 global can be withdrawn if the compositor disables the primary selection, i.e. middle click to paste selected text. QtWayland needs to handle that; otherwise the app can crash.

Pick-to: 6.5 Change-Id: Idbb4db18b605f85a5951fa12c1bdf61898b0d123 Reviewed-by: Eskil Abrahamsen Blomfeldt (cherry picked from commit 45163234a4e4baad0012d3ee07501093d98ba91c)

BUG: 461498
cc plasma/kwin!3298 (merged)

Merge request reports