aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Atoms.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-04-23 21:10:06 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-05-07 14:58:17 +0200
commit5c99ec51ad000189a30ad9a19326bff7b12adbcf (patch)
tree3ba7fd10fac8dea38d70b539a17c9d5db1352ce4 /nx-X11/programs/Xserver/hw/nxagent/Atoms.c
parent8604b18e03557f145be2218bf89fa2597cee1a68 (diff)
downloadnx-libs-5c99ec51ad000189a30ad9a19326bff7b12adbcf.tar.gz
nx-libs-5c99ec51ad000189a30ad9a19326bff7b12adbcf.tar.bz2
nx-libs-5c99ec51ad000189a30ad9a19326bff7b12adbcf.zip
Rootless.c: do not import private properties
In rootless mode some properties are private (or internal or adminitrative). They are only required for the windows on the real X server side that represent nxagent's windows. Those properties should never be cloned from there to the the nxagent windows so we filter them. Fixes ArcticaProject/nx-libs#920
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Atoms.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Atoms.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Atoms.c b/nx-X11/programs/Xserver/hw/nxagent/Atoms.c
index 2e144bb0c..358d46519 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Atoms.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Atoms.c
@@ -73,6 +73,10 @@ static void nxagentPrintAtomMapInfo(char *message);
Atom nxagentAtoms[NXAGENT_NUMBER_OF_ATOMS];
+/*
+ * Careful! Do not change indices here! Some of those are referenced
+ * at other places via nxagentAtoms[index].
+ */
static char *nxagentAtomNames[NXAGENT_NUMBER_OF_ATOMS + 1] =
{
"NX_IDENTITY", /* 0 */