aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Trap.c
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.c
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.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Trap.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Trap.c b/nx-X11/programs/Xserver/hw/nxagent/Trap.c
index 6eade2073..c0a1fdde0 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Trap.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Trap.c
@@ -103,11 +103,3 @@ Bool nxagentXkbCapsTrap = False;
*/
Bool nxagentXkbNumTrap = False;
-
-/*
- * 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
- */
-
-Bool nxagentExternalClipboardEventTrap = False;