From 0018c612f96d47282b6d9feefce308722a58a700 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Fri, 12 Apr 2013 12:24:32 +0000 Subject: [PATCH] Another attempt at supporting older Xorg versions. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5080 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- unix/xserver/hw/vnc/InputXKB.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/unix/xserver/hw/vnc/InputXKB.cc b/unix/xserver/hw/vnc/InputXKB.cc index 65c44009..6fca3624 100644 --- a/unix/xserver/hw/vnc/InputXKB.cc +++ b/unix/xserver/hw/vnc/InputXKB.cc @@ -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) -- 2.39.5