diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2020-02-17 14:36:11 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-05-07 14:57:22 +0200 |
commit | 7358581d7726c132a2c0b0d80b1e12b282b0aca3 (patch) | |
tree | 21cdf8f7aba3193468e30f2a5d901b5abbcece9e /nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c | |
parent | 067031a3b3036670ccc858be732264215a7d14ba (diff) | |
download | nx-libs-7358581d7726c132a2c0b0d80b1e12b282b0aca3.tar.gz nx-libs-7358581d7726c132a2c0b0d80b1e12b282b0aca3.tar.bz2 nx-libs-7358581d7726c132a2c0b0d80b1e12b282b0aca3.zip |
NXdispatch.c: move nxagentClearClipboard to client callback
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c b/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c index 58dd71f60..8d0fa7549 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c +++ b/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c @@ -989,23 +989,14 @@ CloseDownClient(register ClientPtr client) { #ifdef NXAGENT_SERVER /* - * There must be a better way to hook a - * call-back function to be called any - * time a client is going to be closed. - */ - - nxagentClearClipboard(client, NULL); - - /* - * Need to reset the karma counter and - * get rid of the pending sync replies. + * Need to reset the karma counter and get rid of the pending sync + * replies. */ nxagentWakeupByReset(client); /* - * Check if the client - * is a shadow nxagent. + * Check if the client is a shadow nxagent. */ nxagentCheckIfShadowAgent(client); |