aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Trap.h
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-06-11 12:24:44 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-06-11 12:24:44 +0200
commitc0754a35755cdd4e25386abc6378e07605845948 (patch)
tree556107b4e0267c6985f1dc8c7960502b88733983 /nx-X11/programs/Xserver/hw/nxagent/Trap.h
parent58cd35745086567b5b1fa0fc7a295e849ac070ce (diff)
parent848dee5c42bffdf19c4b9f01c38334bf53fefa49 (diff)
downloadnx-libs-c0754a35755cdd4e25386abc6378e07605845948.tar.gz
nx-libs-c0754a35755cdd4e25386abc6378e07605845948.tar.bz2
nx-libs-c0754a35755cdd4e25386abc6378e07605845948.zip
Merge branch 'uli42-pr/use_selection_callback' into 3.6.x
Attributes GH PR #814: https://github.com/ArcticaProject/nx-libs/pull/814
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Trap.h')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Trap.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Trap.h b/nx-X11/programs/Xserver/hw/nxagent/Trap.h
index f0884f657..9f0c055c8 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Trap.h
+++ b/nx-X11/programs/Xserver/hw/nxagent/Trap.h
@@ -121,4 +121,12 @@ extern int nxagentXkbCapsTrap;
extern int 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 int nxagentExternalClipboardEventTrap;
+
#endif /* __Trap_H__ */