Merge pull request #2248 from nfedera/fix-2014-12-03-02

xfreerdp: fix cliprdr SelectionNotify enless loop
This commit is contained in:
Marc-André Moreau 2014-12-03 21:23:17 -05:00
commit 8aac14fdd6
1 changed files with 1 additions and 1 deletions

View File

@ -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,