[][src]Module sapp_linux::clipboard

Clipboard implementation for X11 Clipboard API on X11 is pretty weird https://www.uninformativ.de/blog/postings/2017-04-02/0/POSTING-en.html so use this with caution.

Functions

XConvertSelection
XSetSelectionOwner
claim_clipboard_ownership

Claim that our app is X11 clipboard owner Now when some other linux app will ask X11 for clipboard content - it will be redirected to our app

get_clipboard