diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2020-02-15 00:54:24 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-05-31 12:52:35 +0200 |
commit | 6db07e9959c39d66ef40f1b2c1ac85da255ff91b (patch) | |
tree | b1c96cfb225b2cab90ccbdd7f08f8c7dcd39e7fa | |
parent | c8cec75860755be83c7f76b932bdbcadf6c2afbd (diff) | |
download | nx-libs-6db07e9959c39d66ef40f1b2c1ac85da255ff91b.tar.gz nx-libs-6db07e9959c39d66ef40f1b2c1ac85da255ff91b.tar.bz2 nx-libs-6db07e9959c39d66ef40f1b2c1ac85da255ff91b.zip |
Clipboard.c: call endTransfer()
instead of sendSelectionNotifyEventToClient + setClientSelectionStage
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Clipboard.c | 5 |
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 { |