Created attachment 5221 Scale XPM images With the latest version (4.11.1) and previous (4.11.0, 4.10.2) XPM images are not scaled. Patch (it's very dirty) fixes this issue. I hard coded size of icons (22px), I don't know if it's right.
Thanks for the patch, here's a couple notes that might help: - We can use xfdesktop_get_file_mimetype and do a g_strcmp0 to make it easier. It's in xfdesktop-common.h so that probably needs to be included. - Instead of hard coding it to 22 can we check if it isn't the current w or h then scale it to that? - If you want you can also submit it as a git patch rather than just a diff. Then you can add a commit message and get proper credit for your work!
Patch in bug #10545 fixes scaling of XPM icons.