There's a protocol (no idea why it's a second protocol instead of datadevice)
It's in Qt already.
"just" needs support from us
BUG: 373907
BUG: 406491
There's a protocol (no idea why it's a second protocol instead of datadevice)
It's in Qt already.
"just" needs support from us
BUG: 373907
BUG: 406491
So from what I understand the protocol is defined by the gtk folks, keeping the middle click out of the "core" copy and paste protocol. It needs a bunch of duplication of the copy and paste stuff to implement this. Presumably mostly in kwayland.
I seem to have /usr/share/wayland-protocols/unstable/primary-selection/primary-selection-unstable-v1.xml which I'll start with.
Oh yea, good eye. It's actually already in wp:
https://github.com/wayland-project/wayland-protocols/blob/master/unstable/primary-selection/primary-selection-unstable-v1.xml
For the record, here is a link to the protocol in Qt 5.15 documentation :
https://doc.qt.io/qt-5/qtwaylandcompositor-attribution-wayland-primary-selection-protocol.html
Maybe David is working on it as an extension to his clipboard-manager work, see T4449.
The patch has landed :
https://invent.kde.org/plasma/kwayland-server/-/merge_requests/15
https://invent.kde.org/plasma/kwin/-/merge_requests/27
We lack the XWayland bridge for now, follow up at :
https://bugs.kde.org/show_bug.cgi?id=422426