aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Trap.h
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2021-06-16 20:16:20 +0200
committerUlrich Sibiller <uli42@gmx.de>2021-07-05 22:17:14 +0200
commit7aa969cd4ee5fe6ecf74f82442e4a0a7491191c1 (patch)
tree0d2e3a95d8055d1f377b9ab25742a10548dafdae /nx-X11/programs/Xserver/hw/nxagent/Trap.h
parent15ee25b7dd259793b335723c5f66ff14054c72d0 (diff)
downloadnx-libs-7aa969cd4ee5fe6ecf74f82442e4a0a7491191c1.tar.gz
nx-libs-7aa969cd4ee5fe6ecf74f82442e4a0a7491191c1.tar.bz2
nx-libs-7aa969cd4ee5fe6ecf74f82442e4a0a7491191c1.zip
Fix Xfixes event handling
Calling the callback on receptions of an EXTERNAL xfixes event was a weird idea from the start. However, since adding the protection trap around it it made no sense at all because it effectivly made the callback a noop for that case. So let's drop all the trap nonsense and implement it properly. The callback will only be used for actions by internal clients.
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Trap.h')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Trap.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Trap.h b/nx-X11/programs/Xserver/hw/nxagent/Trap.h
index 1c10f00ea..02ad48f99 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Trap.h
+++ b/nx-X11/programs/Xserver/hw/nxagent/Trap.h
@@ -101,11 +101,4 @@ extern Bool nxagentXkbCapsTrap;
*/
extern Bool nxagentXkbNumTrap;
-/*
- * Set to indicate we are processing a clipboard event triggered by
- * the real X server. This is used to avoid endless loops if callbacks
- * would trigger another event by the real X server
- */
-extern Bool nxagentExternalClipboardEventTrap;
-
#endif /* __Trap_H__ */