reorder, as jxl was not used by every app providing clipboards and sdl
Some checks failed
ContinuousDelivery / linux-ubuntu (push) Failing after 15m46s
ContinuousDelivery / android (map[ndk_abi:arm64-v8a vcpkg_toolkit:arm64-android]) (push) Failing after 6m36s
ContinuousDelivery / android (map[ndk_abi:x86_64 vcpkg_toolkit:x64-android]) (push) Failing after 6m53s
ContinuousIntegration / linux (push) Successful in 4m39s
ContinuousIntegration / android (map[ndk_abi:arm64-v8a vcpkg_toolkit:arm64-android]) (push) Failing after 6m12s
ContinuousIntegration / android (map[ndk_abi:x86_64 vcpkg_toolkit:x64-android]) (push) Failing after 6m3s
ContinuousDelivery / windows (push) Has been cancelled
ContinuousDelivery / windows-asan (push) Has been cancelled
ContinuousIntegration / macos (push) Has been cancelled
ContinuousIntegration / windows (push) Has been cancelled
ContinuousDelivery / release (push) Has been cancelled

still has no way to know which mimetype was set last
This commit is contained in:
Green Sky 2024-08-31 17:24:32 +02:00
parent a3c9be2348
commit 7e92e9808e
No known key found for this signature in database

View File

@ -19,11 +19,11 @@ static const char* clipboardHas(const std::vector<std::string_view>& filter_mime
const static std::vector<std::string_view> image_mime_types { const static std::vector<std::string_view> image_mime_types {
"image/svg+xml", "image/svg+xml",
"image/jxl",
"image/avif",
"image/apng", "image/apng",
"image/webp", "image/webp",
"image/png", "image/png",
"image/avif",
"image/jxl",
"image/gif", "image/gif",
"image/jpeg", "image/jpeg",
"image/qoi", "image/qoi",