mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
core: Demote tiff and bmp image formats in the clipboard manager
Support for them appears to be way less common than e.g. png, which is currently the preferred format from Firefox, Chromium, Libreoffice and others. Adopt to that fact. As a side effect, this works around a bug observed when copying images in Firefox on Wayland. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1141
This commit is contained in:
parent
3956ffd5e8
commit
6aa546145f
@ -32,12 +32,12 @@ static struct {
|
||||
const char *mimetype_glob;
|
||||
ssize_t max_transfer_size;
|
||||
} supported_mimetypes[] = {
|
||||
{ "image/tiff", MAX_IMAGE_SIZE },
|
||||
{ "image/bmp", MAX_IMAGE_SIZE },
|
||||
{ "image/gif", MAX_IMAGE_SIZE },
|
||||
{ "image/jpeg", MAX_IMAGE_SIZE },
|
||||
{ "image/webp", MAX_IMAGE_SIZE },
|
||||
{ "image/png", MAX_IMAGE_SIZE },
|
||||
{ "image/bmp", MAX_IMAGE_SIZE },
|
||||
{ "image/tiff", MAX_IMAGE_SIZE },
|
||||
{ "image/svg+xml", MAX_IMAGE_SIZE },
|
||||
{ "text/plain", MAX_TEXT_SIZE },
|
||||
{ "text/plain;charset=utf-8", MAX_TEXT_SIZE },
|
||||
|
Loading…
Reference in New Issue
Block a user