diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2021-06-20 13:15:12 +0200 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2021-07-05 22:18:24 +0200 |
commit | 5da2be394a3961c7a6d96a3e117ffc434fe34827 (patch) | |
tree | 45e71e9d37f6e4e6b6a992bfdc45cbe58cb7fce0 /nx-X11/programs/Xserver/hw | |
parent | 7aa969cd4ee5fe6ecf74f82442e4a0a7491191c1 (diff) | |
download | nx-libs-5da2be394a3961c7a6d96a3e117ffc434fe34827.tar.gz nx-libs-5da2be394a3961c7a6d96a3e117ffc434fe34827.tar.bz2 nx-libs-5da2be394a3961c7a6d96a3e117ffc434fe34827.zip |
Events.c: add another comment
Diffstat (limited to 'nx-X11/programs/Xserver/hw')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Events.c | 5 |
1 files changed, 5 insertions, 0 deletions
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) |