Commit Graph

6 Commits

Author SHA1 Message Date
akallabeth
9f68ae4f03 update clipboard on sdl thread 2025-02-03 14:37:10 +01:00
David Fort
d05c781cd9 sdl3 client: take in account last SDL changes
This patch uses the last changes in the SDL3 clipboard to have that clean separation
between mime type announcement and retrieving the corresponding clipboard data. With
these changes we don't have anymore that spurious notifications where we loose the
clipboard ownership, and also we don't trigger data retrieval by calling functions
like SDL_ClipboardHasText().
2024-10-07 11:48:41 +02:00
akallabeth
84719a4d83
[client,sdl] fix class constructors and operators
delete unused move/copy constructors and operators
2024-09-18 23:33:50 +02:00
David Fort
688f450fc2 SDL3 client: improve the treatment of clipboard data requests
This patch adds a success flag on clipboard data requests, so that we can react
correctly in the SDL handler. I've also made some errors non fatal like if you requests
a kind of data that doesn't exist the client should not terminateit's for that.
2024-09-17 11:37:48 +02:00
akallabeth
500495dc00
[warnings] fix SDL3 related issues 2024-08-29 16:03:51 +02:00
akallabeth
cc038ad89b
[client,sdl] merge SDL2 and SDL3 projects 2024-05-16 20:34:11 +02:00