summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@freedesktop.org>2008-10-26 10:22:12 -0700
committerJeremy Huddleston <jeremyhu@freedesktop.org>2008-10-28 22:00:42 -0700
commitc885110aedc19e551de22a526397d77013c3dfcb (patch)
treec3c357ea015411334a34941bf6036c8fcd7aaa7e
parente7c26964eef6732c9603b26b7396f95443c5ba8a (diff)
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)
-rw-r--r--hw/xquartz/pbproxy/x-selection.m5
1 files changed, 5 insertions, 0 deletions
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.*/