Support primary selection on Wayland

Closes #1423
This commit is contained in:
Sebastian Wiesner authored and Wez Furlong committed 2022-03-12 05:42:01 -08:00
1 parent 5d7de61e9e
commit 277d30ef2e
6 files changed
+154 -76

No files matched your search

+4 -1
View File
@@ -5,7 +5,7 @@ Copy the selection to the specified clipboard buffer.
Possible values for destination are:
* `Clipboard` - copy the text to the system clipboard.
* `PrimarySelection` - Copy the test to the primary selection buffer (applicable to X11 systems only)
* `PrimarySelection` - Copy the test to the primary selection buffer (applicable to X11 and some Wayland systems only)
* `ClipboardAndPrimarySelection` - Copy to both the clipboard and the primary selection.
```lua
@@ -17,3 +17,6 @@ return {
}
```
*Since: nightly builds only*
`PrimarySelection` is now also supported on Wayland systems that support [primary-selection-unstable-v1](https://wayland.app/protocols/primary-selection-unstable-v1) or the older Gtk primary selection protocol.
+4 -1
View File
@@ -2,7 +2,7 @@
Paste the specified clipboard to the current pane.
This is only really meaningful on X11 systems that have multiple clipboards.
This is only really meaningful on X11 and some Wayland systems that have multiple clipboards.
Possible values for source are:
@@ -24,3 +24,6 @@ return {
}
```
*Since: nightly builds only*
`PrimarySelection` is now also supported on Wayland systems that support [primary-selection-unstable-v1](https://wayland.app/protocols/primary-selection-unstable-v1) or the older Gtk primary selection protocol.