Comments (9)
If someone want to work on this, I have a partial (only selection, aka clipboard, no primary selection or DnD), quick & dirty implementation here : https://github.com/sloonz/cage
But unless I missed something, contra emersion it will need some changes to wlroots, at minimum a public function wlr_wl_backend_get_display to be able to access the remote display. A way to access the registry without having to bind to it a second time would be nice too.
from cage.
data-control does not sound like a protocol we should be using for this. The core Wayland protocol should be enough.
Yeah, that’s what I realized once I was 99% done. It’s the kind of change that must be made before being made into a proper pull request.
Do you plan to open a pull request?
Not right now, I don’t really have the time. But I probably eventually will if nobody does.
from cage.
I'd be interested to work on this feature. I use wio for compositing, and this « clipboard sync » is needed for the clipboard to be shared between all cage instances.
If I understand the issue correctly, this would require the compositor to act as a client to the wl_data_control interface of the underlying compositor. Is that correct ?
If so, could you point me in the right direction to get started with it ? Is there already a portion of the code that's used to relay requests to a wayland server ? Also, what is the interface to use for clipboard/selection management ?
from cage.
Are wlroots changes still needed?
Related ValveSoftware/gamescope/issues/303
from cage.
wlroots changes should not be necessary.
from cage.
But unless I missed something, contra emersion it will need some changes to wlroots, at minimum a public function wlr_wl_backend_get_display to be able to access the remote display.
FYI, there is a wlr_wl_backend_get_remote_display()
API in wlr/backend/wayland.h. [1]
from cage.
I don’t know how I missed that. Will update my fork shortly.
from cage.
Updated commit : sloonz@619e8f1
from cage.
data-control does not sound like a protocol we should be using for this. The core Wayland protocol should be enough.
Do you plan to open a pull request?
from cage.
Related Issues (20)
- Matching touch input to rotated screen - how to find my output device name HOT 2
- DRM panel orientation not taken into account HOT 3
- Screen sharing via apps like TeamViewer and AnyDesk, is unattended mode possible in Wayland? HOT 4
- Support wlr-layer-shell as a Backend HOT 1
- Build Fails on wlroots 0.17.2-1 HOT 6
- Cage doesn't seem to auto-activate the client until the first input HOT 5
- Persisting Data HOT 3
- Unable to create wlroots backend HOT 6
- Add an IRC channel for communication
- Cannot launch in X11 session HOT 5
- XDG_RUNTIME_DIR is not set in the environment HOT 6
- Release new version HOT 2
- [QUESTION] Running a second app? HOT 2
- Segfault on SIGTERM leaving the display hanging
- error on raspberr pi os HOT 7
- doesnt build HOT 2
- cage: error while loading shared libraries: libwlroots.so.12: cannot open shared object file: No such file or directory HOT 1
- Has development stopped? HOT 3
- Can't install. HOT 1
- Extra steps for launching cage on boot with systemd
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cage.