diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2019-06-10 14:21:43 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2019-06-11 12:22:17 +0200 |
commit | 09ba97b2d0ff3e2f8203679480fe5a54020637b2 (patch) | |
tree | 50428679147695ec80c2bc2e562d3549038ddc97 /nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c | |
parent | 2972f6af1b63f4e98aa4504a83f756b8486c7df0 (diff) | |
download | nx-libs-09ba97b2d0ff3e2f8203679480fe5a54020637b2.tar.gz nx-libs-09ba97b2d0ff3e2f8203679480fe5a54020637b2.tar.bz2 nx-libs-09ba97b2d0ff3e2f8203679480fe5a54020637b2.zip |
NXdispatch.c: Use Callback instead of a modified function
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c b/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c index db055f0cd..44194ff3b 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c +++ b/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c @@ -764,15 +764,6 @@ ProcSetSelectionOwner(register ClientPtr client) CallCallbacks(&SelectionCallback, &info); } -#ifdef NXAGENT_CLIPBOARD - if ((CurrentSelections[i].pWin != NULL) && - (nxagentOption(Clipboard) != ClipboardNone) && - ((CurrentSelections[i].selection == XA_PRIMARY) || - (CurrentSelections[i].selection == MakeAtom("CLIPBOARD", 9, 0)))) - { - nxagentSetSelectionOwner(&CurrentSelections[i]); - } -#endif return (client->noClientException); } else |