157 |
{ |
{ |
158 |
res = XGetWindowProperty(g_display, event->requestor, |
res = XGetWindowProperty(g_display, event->requestor, |
159 |
rdesktop_clipboard_target_atom, 0, 1, True, XA_INTEGER, |
rdesktop_clipboard_target_atom, 0, 1, True, XA_INTEGER, |
160 |
&type, &format, &nitems, &bytes_left, |
&type, &format, &nitems, &bytes_left, &prop_return); |
|
&prop_return); |
|
161 |
wanted_format = (uint32 *) prop_return; |
wanted_format = (uint32 *) prop_return; |
162 |
format = (res == Success) ? *wanted_format : CF_TEXT; |
format = (res == Success) ? *wanted_format : CF_TEXT; |
163 |
/* FIXME: Need to free returned data? */ |
/* FIXME: Need to free returned data? */ |