We requested data from CLIPBOARD even though we might be examining the targets

for PRIMARY.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1204 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Pierre Ossman 2006-03-27 08:41:16 +00:00
parent 5100adfeca
commit 93cfd505c0

View File

@ -479,7 +479,7 @@ xclip_handle_SelectionNotify(XSelectionEvent * event)
*/
if (best_text_target != 0)
{
XConvertSelection(g_display, clipboard_atom, best_text_target,
XConvertSelection(g_display, event->selection, best_text_target,
rdesktop_clipboard_target_atom, g_wnd, event->time);
return;
}