From 5da2be394a3961c7a6d96a3e117ffc434fe34827 Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Sun, 20 Jun 2021 13:15:12 +0200 Subject: Events.c: add another comment --- nx-X11/programs/Xserver/hw/nxagent/Events.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'nx-X11/programs/Xserver/hw') 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) -- cgit v1.2.3