Merge pull request #1164 from yan12125/fix-x11-paste
Map more X11 clipboard MIME types to corresponding converters
This commit is contained in:
commit
7f44afa546
|
@ -0,0 +1 @@
|
||||||
|
Map more X11 clipboard MIME types to corresponding converters (https://github.com/debauchee/barrier/issues/344).
|
|
@ -84,9 +84,13 @@ XWindowsClipboard::XWindowsClipboard(IXWindowsImpl* impl, Display* display,
|
||||||
// add converters, most desired first
|
// add converters, most desired first
|
||||||
m_converters.push_back(new XWindowsClipboardHTMLConverter(m_display,
|
m_converters.push_back(new XWindowsClipboardHTMLConverter(m_display,
|
||||||
"text/html"));
|
"text/html"));
|
||||||
|
m_converters.push_back(new XWindowsClipboardHTMLConverter(m_display,
|
||||||
|
"application/x-moz-nativehtml"));
|
||||||
m_converters.push_back(new XWindowsClipboardBMPConverter(m_display));
|
m_converters.push_back(new XWindowsClipboardBMPConverter(m_display));
|
||||||
m_converters.push_back(new XWindowsClipboardUTF8Converter(m_display,
|
m_converters.push_back(new XWindowsClipboardUTF8Converter(m_display,
|
||||||
"text/plain;charset=UTF-8"));
|
"text/plain;charset=UTF-8"));
|
||||||
|
m_converters.push_back(new XWindowsClipboardUTF8Converter(m_display,
|
||||||
|
"text/plain;charset=utf-8"));
|
||||||
m_converters.push_back(new XWindowsClipboardUTF8Converter(m_display,
|
m_converters.push_back(new XWindowsClipboardUTF8Converter(m_display,
|
||||||
"UTF8_STRING"));
|
"UTF8_STRING"));
|
||||||
m_converters.push_back(new XWindowsClipboardUCS2Converter(m_display,
|
m_converters.push_back(new XWindowsClipboardUCS2Converter(m_display,
|
||||||
|
|
Loading…
Reference in New Issue