aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Reconnect.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2021-02-09 19:09:21 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-06-08 08:23:35 +0200
commit8fe2c114084743e8726ae39089e3aa1491d22719 (patch)
tree5049deb05b33b5c2d63847074dd787bb4572e6ce /nx-X11/programs/Xserver/hw/nxagent/Reconnect.c
parent906aa0714de9f2aa2b9d2600d44658864cce0070 (diff)
downloadnx-libs-8fe2c114084743e8726ae39089e3aa1491d22719.tar.gz
nx-libs-8fe2c114084743e8726ae39089e3aa1491d22719.tar.bz2
nx-libs-8fe2c114084743e8726ae39089e3aa1491d22719.zip
Use NXAGENT_ONSTART define at more locations
marking all the code that is not really required when not using nomachine's nxclient.
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Reconnect.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Reconnect.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Reconnect.c b/nx-X11/programs/Xserver/hw/nxagent/Reconnect.c
index e6d3ce6ec..58c1fc4e2 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Reconnect.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Reconnect.c
@@ -503,12 +503,14 @@ Bool nxagentReconnectSession(void)
nxagentMapDefaultWindows();
+#ifdef NXAGENT_ONSTART
/*
* Ensure that the SetSelectionOwner request is sent through the
* link.
*/
XFlush(nxagentDisplay);
+#endif
NXTransContinue(NULL);