aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/miext/shadow/shadow.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/miext/shadow/shadow.c')
-rw-r--r--xorg-server/miext/shadow/shadow.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xorg-server/miext/shadow/shadow.c b/xorg-server/miext/shadow/shadow.c
index ef0df4091..21f1de2d5 100644
--- a/xorg-server/miext/shadow/shadow.c
+++ b/xorg-server/miext/shadow/shadow.c
@@ -36,7 +36,8 @@
#include "gcstruct.h"
#include "shadow.h"
-DevPrivateKey shadowScrPrivateKey = &shadowScrPrivateKey;
+static int shadowScrPrivateKeyIndex;
+DevPrivateKey shadowScrPrivateKey = &shadowScrPrivateKeyIndex;
#define wrap(priv, real, mem) {\
priv->mem = real->mem; \