[X2Go-Commits] [nx-libs] 422/429: Events.c: add another comment

git-admin at x2go.org git-admin at x2go.org
Mon Oct 18 09:37:19 CEST 2021


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch 3.6.x
in repository nx-libs.

commit 5da2be394a3961c7a6d96a3e117ffc434fe34827
Author: Ulrich Sibiller <uli42 at gmx.de>
Date:   Sun Jun 20 13:15:12 2021 +0200

    Events.c: add another comment
---
 nx-X11/programs/Xserver/hw/nxagent/Events.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/nx-X11/programs/Xserver/hw/nxagent/Events.c b/nx-X11/programs/Xserver/hw/nxagent/Events.c
index a678e3841..0340e0b57 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Events.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Events.c
@@ -2881,6 +2881,11 @@ int nxagentHandleXFixesSelectionNotify(XEvent *X)
     return 0;
   }
 
+  /*
+   * Realistically the only situation where we can receive
+   * WindowDestroy or ClientClose will also end nxagent, so we do not
+   * need to handle them. But the code is here, so let's keep it.
+   */
   if (xfixesEvent -> xfixesselection.subtype == SelectionSetOwner||
       xfixesEvent -> xfixesselection.subtype == SelectionWindowDestroy ||
       xfixesEvent -> xfixesselection.subtype == SelectionClientClose)

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git


More information about the x2go-commits mailing list