so here i am writing my own (actually a fork of st) terminal in c, and we have this kind of cursed code.
so maybe anyone knows a lot about x11 and xlib and maybe a better way to look into the mime type targets, and check if it actually has the "STRING" target. because XConvertSelection forces the image/png target to be a string if you ask it for a string (i think)











