mirror of https://github.com/FreeRDP/FreeRDP
Merge pull request #2248 from nfedera/fix-2014-12-03-02
xfreerdp: fix cliprdr SelectionNotify enless loop
This commit is contained in:
commit
8aac14fdd6
|
@ -770,7 +770,7 @@ int xf_cliprdr_send_client_format_list(xfClipboard* clipboard)
|
|||
|
||||
free(formats);
|
||||
|
||||
if (clipboard->owner != xfc->drawable)
|
||||
if (clipboard->owner && clipboard->owner != xfc->drawable)
|
||||
{
|
||||
/* Request the owner for TARGETS, and wait for SelectionNotify event */
|
||||
XConvertSelection(xfc->display, clipboard->clipboard_atom,
|
||||
|
|
Loading…
Reference in New Issue