M subprojects/d2tk/meson_options.txt => subprojects/d2tk/meson_options.txt +1 -1
@@ 55,4 55,4 @@ option('use-fontconfig',
value : 'disabled',
yield : true)
-option('version', type : 'string', value : '0.8.0')
+option('version', type : 'string', value : '0.8.2')
M subprojects/d2tk/src/frontend_pugl.c => subprojects/d2tk/src/frontend_pugl.c +5 -0
@@ 757,6 757,11 @@ d2tk_frontend_get_clipboard(d2tk_frontend_t *dpugl, const char **type,
return NULL;
}
+ if(type && strstr(dpugl->clipboard.mime, *type) != dpugl->clipboard.mime)
+ {
+ return NULL;
+ }
+
dpugl->clipboard.ready = false;
if(buf_len)