The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
SDL copy and paste.
zerophase


Joined: 29 Dec 2016
Posts: 1
I'm trying to fix Unreal's copy and paste bug on Linux that pops up, whenever trying to copy with a right click menu. Their copy function reaches the sdl call, and for whatever reason nothing is in the clipboard for pasting. I have a feeling it has to do with how Epic is creating submenus. (ctrl + c and ctrl + v work properly) So, what I'm asking is how does copy and paste work in SDL? Which objects need to be present for successful paste?