Skip to content

Fix Klipper empty prevention on wayland

Tobias Fella requested to merge work/tobias/klipper-wayland-empty-fix into master

When an application terminates, we receive a signal for the Selection and restore it. While restoring it, we also receive a signal for the Clipboard, but don't handle it since we're currently locked due to the Selection.

This patch fixes that by creating separate locks for Selection and Clipboard.

BUG: 468422

Merge request reports