xserver/hw/xwin/winclipboard
Jon Turney 9e02e023b0 hw/xwin: xcbify clipboard integration
Convert clipboard integration code from libX11 to xcb

This drops support for COMPOUND_TEXT.  Presumably some ancient
(pre-2000) clients exist which support that, but not UTF8_STRING, but we
don't have an example to test with. (Given the nature of the thing, the
users of those clients probably work in CJK languages)

Supporting COMPOUND_TEXT would also involve writing (or extracting from
Xlib) support for the ISO 2022 encoding.

v2:
Fix the length of text property set by a SelectionRequest

The length of the text property is not neccessarily the same as the
length of the clipboard text before it is d2u converted (specifically,
if that contains any '\r\n' sequences, it will be shorter as they are
now just '\n')
2020-04-15 14:13:58 +00:00
..
Makefile.am hw/xwin: Fix 'make distcheck' 2018-08-31 08:37:51 +10:00
debug.c hw/xwin: Add xwinclip test client 2014-09-13 14:18:38 +01:00
internal.h hw/xwin: xcbify clipboard integration 2020-04-15 14:13:58 +00:00
meson.build hw/xwin: xcbify clipboard integration 2020-04-15 14:13:58 +00:00
textconv.c hw/xwin: xcbify clipboard integration 2020-04-15 14:13:58 +00:00
thread.c hw/xwin: xcbify clipboard integration 2020-04-15 14:13:58 +00:00
winclipboard.h hw/xwin: xcbify clipboard integration 2020-04-15 14:13:58 +00:00
wndproc.c hw/xwin: xcbify clipboard integration 2020-04-15 14:13:58 +00:00
xevents.c hw/xwin: xcbify clipboard integration 2020-04-15 14:13:58 +00:00
xwinclip.c hw/xwin: xcbify clipboard integration 2020-04-15 14:13:58 +00:00
xwinclip.man hw/xwin: Remove nounicodeclipboard option 2020-04-15 14:13:58 +00:00