]> source.dussan.org Git - tigervnc.git/commitdiff
Another attempt at supporting older Xorg versions.
authorPierre Ossman <ossman@cendio.se>
Fri, 12 Apr 2013 12:24:32 +0000 (12:24 +0000)
committerPierre Ossman <ossman@cendio.se>
Fri, 12 Apr 2013 12:24:32 +0000 (12:24 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5080 3789f03b-4d11-0410-bbf8-ca57d06f2519

unix/xserver/hw/vnc/InputXKB.cc

index 65c44009f306a8a4b3ecf1d35b1d6098eb1f8954..6fca36249edfe86e2e488c8268b170124981574c 100644 (file)
@@ -43,7 +43,8 @@ extern "C" {
 }
 
 #if XORG < 19
-static DevPrivateKey vncXkbScreenPrivateKey = &vncXkbScreenPrivateKey;
+static int vncXkbScreenPrivateKeyIndex;
+static DevPrivateKey vncXkbScreenPrivateKey = &vncXkbScreenPrivateKeyIndex;
 #else
 static DevPrivateKeyRec vncXkbPrivateKeyRec;
 #define vncXkbScreenPrivateKey (&vncXkbPrivateKeyRec)