aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-02-15 00:54:24 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-05-31 12:52:35 +0200
commit6db07e9959c39d66ef40f1b2c1ac85da255ff91b (patch)
treeb1c96cfb225b2cab90ccbdd7f08f8c7dcd39e7fa /nx-X11
parentc8cec75860755be83c7f76b932bdbcadf6c2afbd (diff)
downloadnx-libs-6db07e9959c39d66ef40f1b2c1ac85da255ff91b.tar.gz
nx-libs-6db07e9959c39d66ef40f1b2c1ac85da255ff91b.tar.bz2
nx-libs-6db07e9959c39d66ef40f1b2c1ac85da255ff91b.zip
Clipboard.c: call endTransfer()
instead of sendSelectionNotifyEventToClient + setClientSelectionStage
Diffstat (limited to 'nx-X11')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Clipboard.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
index 6291d4003..9c9ba1af3 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -1779,10 +1779,7 @@ int nxagentConvertSelection(ClientPtr client, WindowPtr pWin, Atom selection,
"notifying failure to client\n", __func__);
#endif
- sendSelectionNotifyEventToClient(lastClientClientPtr, lastClientTime, lastClientRequestor,
- lastClientSelection, lastClientTarget, None);
-
- setClientSelectionStage(SelectionStageNone);
+ endTransfer(SELECTION_FAULT);
}
else
{