FreeRDP/client
ilammy 626e40a9c1 client/X11: add raw clipboard transfer indication
Some time ago there was a property _FREERDP_CLIPRDR_ID which was indended
to indicate that an XFreeRDP window owns a clipboard. This was necessary
for raw transfers. This property was used by xf_cliprdr_is_self_owned()
function. However, raw transfer support was broken and the meaning of
xf_cliprdr_is_self_owned() gradually changed into checking whether
the *current* window owns the clipboard, not just any XFreeRDP window.
Thus _FREERDP_CLIPRDR_ID was removed in a4580923e7 (xfreerdp/clipr:
fix self owned test and hardening).

However, now we are going to fix raw transfers and we need that property.
This patch reintroduces a similar property "_FREERDP_CLIPRDR_RAW" which
indicates that a window is an XFreeRDP window with enabled raw transfer.
It is currently used by xf_cliprdr_server_format_data_request() to
correctly request format data from another XFreeRDP instance via raw
transfer protocol.

This property can be queried from the clipboard owner with the function
xf_cliprdr_is_raw_transfer_available() and can be enabled or disabled
on the current window by xf_cliprdr_set_raw_transfer_enabled().

Disabling raw transfers will be necesary to correctly implement file
transfers in the future. However, currently raw transfers are always
enabled.
2015-11-14 19:03:10 +02:00
..
Android Merge pull request #2917 from binglinoioij/master 2015-11-10 10:13:47 +01:00
common settings: update settings/help to match 2015-08-28 11:09:38 +02:00
DirectFB Fixes for malloc / calloc + other fixes 2015-06-22 19:21:47 +02:00
iOS client/ios: fix unchecked strdups 2015-06-22 19:09:59 +02:00
Mac Merge pull request #2825 from akallabeth/pointer_decoding_fix 2015-09-01 11:09:42 +02:00
Sample Fixes for malloc / calloc + other fixes 2015-06-22 19:21:47 +02:00
Wayland Fixed leaks, NULL dereferences and broken init. 2015-06-23 21:29:21 +02:00
Windows libfreerdp-core: fix code style 2015-09-15 10:37:57 -04:00
X11 client/X11: add raw clipboard transfer indication 2015-11-14 19:03:10 +02:00
.gitignore Fixes for malloc / calloc + other fixes 2015-06-22 19:21:47 +02:00
CMakeLists.txt Disabled client builds if WITH_CLIENT is not set. 2015-11-03 17:32:52 +01:00