From 6db07e9959c39d66ef40f1b2c1ac85da255ff91b Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Sat, 15 Feb 2020 00:54:24 +0100 Subject: Clipboard.c: call endTransfer() instead of sendSelectionNotifyEventToClient + setClientSelectionStage --- nx-X11/programs/Xserver/hw/nxagent/Clipboard.c | 5 +---- 1 file changed, 1 insertion(+), 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 { -- cgit v1.2.3