nwrkbiz / android-xserver

Maintaining the original project to make it work again with new Android versions.
MIT License
167 stars 18 forks source link

Allow sharing clipboard between Android and X11 apps. #24

Closed nwrkbiz closed 3 years ago

nwrkbiz commented 3 years ago

This has to be done with the help of an "invisible" server only window.

X11 to Android:

The X selection identified by the "CLIPBOARD" atom has then to be transferred to a property on this "invisible" window.

Android to X11:

The selection identified by the "CLIPBOARD" atom has to hold the data and needs to be owned by the "invisible" window. A client can then request the content via ConvertSelection.