Skip to content

Commit a2ddddd

Browse files
committed
Update README: native Wayland not needed (XWayland bridge handles all cases on GNOME/KDE)
1 parent 916cf25 commit a2ddddd

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,13 @@ Available configurations in `examples/`:
189189

190190
- **Xvfb cutbuffer cross-process visibility**: On some Xvfb versions (confirmed on 1.20.11), `XStoreBuffer` from one process is not visible to `XFetchBuffer` from another process. This does not affect real Xorg or XWayland servers. The test suite probes for this behavior and skips affected tests automatically.
191191

192-
### Native Wayland Clipboard (planned)
192+
### Native Wayland Clipboard
193193

194-
Most Wayland compositors bridge the clipboard between XWayland and native Wayland applications automatically. autocutsel works through this bridge. A future enhancement will add direct Wayland clipboard integration via `wl-paste --watch` and `wl-copy` for compositors where the XWayland bridge does not cover all cases.
194+
Native Wayland clipboard monitoring (via `wl-paste --watch`) requires the `wlr-data-control` protocol, which is only available on wlroots-based compositors (Sway, Hyprland). GNOME (Mutter) and KDE (KWin) do not support this protocol.
195+
196+
However, **native Wayland support is not needed** on GNOME and KDE: these compositors automatically bridge CLIPBOARD and PRIMARY between XWayland and native Wayland applications in both directions. autocutsel works transparently through this bridge — clipboard content from native Wayland apps (including browser "copy" buttons) is visible to autocutsel via XWayland, and vice versa.
197+
198+
For wlroots-based compositors, `wl-paste --watch` can be used as a standalone clipboard monitor alongside autocutsel.
195199

196200
## Acknowledgments
197201

0 commit comments

Comments
 (0)