aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/fb/fboverlay.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/fb/fboverlay.c')
-rw-r--r--xorg-server/fb/fboverlay.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xorg-server/fb/fboverlay.c b/xorg-server/fb/fboverlay.c
index f9f7c52a3..1432cb6f0 100644
--- a/xorg-server/fb/fboverlay.c
+++ b/xorg-server/fb/fboverlay.c
@@ -33,7 +33,8 @@
#include "fboverlay.h"
#include "shmint.h"
-static DevPrivateKey fbOverlayScreenPrivateKey = &fbOverlayScreenPrivateKey;
+static int fbOverlayScreenPrivateKeyIndex;
+static DevPrivateKey fbOverlayScreenPrivateKey = &fbOverlayScreenPrivateKeyIndex;
DevPrivateKey fbOverlayGetScreenPrivateKey(void)
{