From c885110aedc19e551de22a526397d77013c3dfcb Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Sun, 26 Oct 2008 10:22:12 -0700 Subject: [PATCH] Xquartz: pbproxy: Some debugging about unhandled mime types... this will spam up quick, but will be useful for a while... (cherry picked from commit 3647215310f5a52126661b9ec473dcfeed25b40f) --- hw/xquartz/pbproxy/x-selection.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hw/xquartz/pbproxy/x-selection.m b/hw/xquartz/pbproxy/x-selection.m index 3cc1201d5..b95dfbf48 100644 --- a/hw/xquartz/pbproxy/x-selection.m +++ b/hw/xquartz/pbproxy/x-selection.m @@ -250,6 +250,11 @@ get_property(Window win, Atom property, struct propdata *pdata, Bool delete, Ato { string = True; } + else + { + const char *type = XGetAtomName(x_dpy, a); + DB("Unhandled X11 mime type: %s", type); + Xfree(type); } /*We prefer PNG over strings, and UTF8 over a Latin-1 string.*/