mirror of
https://github.com/games-on-whales/gst-wayland-display.git
synced 2026-10-15 21:02:00 +00:00
[PR #23] [CLOSED] feat: Simple clipboard #26
Labels
No labels
enhancement
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
games-on-whales/gst-wayland-display#26
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/games-on-whales/gst-wayland-display/pull/23
Author: @DatCaptainHorse
Created: 11/14/2025
Status: ❌ Closed
Base:
stable← Head:feat/simple-clipboard📝 Commits (1)
c086d4efeat: Simple clipboard set by command📊 Changes
4 files changed (+34 additions, -4 deletions)
View changed files
📝
gst-plugin-wayland-display/src/waylandsrc/imp.rs(+6 -0)📝
wayland-display-core/src/comp/mod.rs(+9 -0)📝
wayland-display-core/src/lib.rs(+1 -0)📝
wayland-display-core/src/wayland/handlers/data_device.rs(+18 -4)📄 Description
Draft as unsure if can be done "safely" and if
set_data_device_selectionis even needed, should State keep track of the clipboard by itself?I spent hours just looking for any kind of Smithay example code or documentation, it's so lacking, even in Cosmic DE's code I couldn't find anything useful.. So I just write to the FD; what could go wrong? :)
Image below shows clipboard text copied from host to container running gst-wayland-display. Currently limited to text-only, so no images etc.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
VideoFormatfrom fourcc #28