summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLee Leahu <freedesktop-bugs@dyweni.com>2008-10-23 21:03:57 -0500
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-08-03 20:23:33 -0700
commitb159a98f7fbdb3f8b337cd1bfd2ff27312856619 (patch)
tree06f58d707f44156c21c7f75e8c6108026e564e97
parent5da9b255a64bec7dbf5ddb392d54dac9be5b43c0 (diff)
seg fault when initializing DMX screens
X.Org Bugzilla #18086: http://bugs.freedesktop.org/show_bug.cgi?id=18086 Patch #19837: http://bugs.freedesktop.org/attachment.cgi?id=19837
-rw-r--r--hw/dmx/dmxscrinit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dmx/dmxscrinit.c b/hw/dmx/dmxscrinit.c
index 736075094..b5afb5839 100644
--- a/hw/dmx/dmxscrinit.c
+++ b/hw/dmx/dmxscrinit.c
@@ -68,7 +68,7 @@ static unsigned long dmxGeneration;
static unsigned long *dmxCursorGeneration;
static int dmxGCPrivateKeyIndex;
-DevPrivateKey dmxGCPrivateKey = &dmxGCPrivateKey; /**< Private index for GCs */
+DevPrivateKey dmxGCPrivateKey = &dmxGCPrivateKeyIndex; /**< Private index for GCs */
static int dmxWinPrivateKeyIndex;
DevPrivateKey dmxWinPrivateKey = &dmxWinPrivateKeyIndex; /**< Private index for Windows */
static int dmxPixPrivateKeyIndex;