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.
Simple Directmedia Layer Forums
SDL copy and paste.
Joined: 29 Dec 2016
Posted: Tue Jan 10, 2017 4:48 pm
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?