Files
LLeMbas-TTY/window
Benoit de Chezelles 9edc0c09fc refactor(wayland): share one CopyPasteOffer across all windows (#7869)
Previously each window held its own CopyAndPaste (one per surface),
causing the data_device selection handler to broadcast the incoming
offer to every window on each clipboard change.

Since the compositor sends one selection event per client (not per
surface), a single shared CopyPasteOffer on WaylandState is sufficient.
The broadcast loop is replaced by a single confirm_selection() call.

Also add doc comments on all clipboard-related fields in WaylandState.

Assisted-by: Claude Sonnet 4.6; iterated, reviewed & tested manually

ref: #6685
2026-06-21 22:47:48 +02:00
..
2024-05-04 16:09:38 -07:00
2022-08-17 07:19:12 -07:00