Commit 6663cbe6 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

Clipboard.c: fix nested clipboard handling

Fixes ArcticaProject/nx-libs#632
parent ae44a8cd
...@@ -1895,7 +1895,14 @@ int nxagentSendNotify(xEvent *event) ...@@ -1895,7 +1895,14 @@ int nxagentSendNotify(xEvent *event)
fprintf(stderr, "%s: lastServerRequestor is [0x%x].\n", __func__, lastServerRequestor); fprintf(stderr, "%s: lastServerRequestor is [0x%x].\n", __func__, lastServerRequestor);
#endif #endif
if (event->u.selectionNotify.property == clientCutProperty) /*
* If we have nested sessions there are situations where we do not
* need to send out anything to the real X server because
* communication happens completely between our own clients (some of
* which can be nxagents themselves). In that case we return 0 (tell
* dix to go on) and do nothing!
*/
if (event->u.selectionNotify.property == clientCutProperty && lastServerRequestor != None)
{ {
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment