Linux: Now we can get the image size from the native clipboard

This commit is contained in:
David Capello 2018-07-16 16:01:03 -03:00
parent 665d481a53
commit e6e74977c9
2 changed files with 1 additions and 3 deletions

View File

@ -596,11 +596,9 @@ void paste()
bool get_image_size(gfx::Size& size)
{
#if defined(_WIN32) || defined(__APPLE__)
if (use_native_clipboard() &&
get_native_clipboard_bitmap_size(&size))
return true;
#endif
if (clipboard_image) {
size.w = clipboard_image->width();

@ -1 +1 @@
Subproject commit 148a82e602e0c4f4e93685413b91218acf84df14
Subproject commit 964a64adef6de28664c8c15b97cbcb1624dcb6fc