SDL/src/core
Frank Praznik 86b3369491 wayland: Check the origin of clipboard offers before forwarding them to the client
Wayland compositors may send recursive clipboard offers to the client, which need to be filtered out to avoid clearing local data. Previously this was worked around with a hack, but this caused the ownership flag to be set incorrectly, which broke some clients.

This introduces a metadata MIME type of application/x-sdl3-source-id to be sent with SDL3 selection offers, which contains a string that is a unique identifier for the instance, and can be used to detect if a received selection offer is originating from the same instance that generated it.

If DBus is available, the unique identifier string is the unique name of the connection, otherwise, the process ID is used.
2025-04-22 11:29:38 -04:00
..
android Added special handling for SDL_HINT_ANDROID_ALLOW_RECREATE_ACTIVITY 2025-04-03 11:33:34 -07:00
freebsd Updated copyright for 2025 2025-01-01 07:45:52 -08:00
gdk Updated copyright for 2025 2025-01-01 07:45:52 -08:00
haiku haiku: Fixed keyboard input. 2025-02-12 17:17:14 -05:00
linux wayland: Check the origin of clipboard offers before forwarding them to the client 2025-04-22 11:29:38 -04:00
openbsd Updated copyright for 2025 2025-01-01 07:45:52 -08:00
unix Don't return short waits from SDL_IOReady() 2025-02-10 10:29:30 -08:00
windows Updated to GameInput v1.1 2025-04-11 13:42:58 -07:00
SDL_core_unsupported.c Formatting spaces around pointer symbol. 2025-02-03 17:03:26 -08:00