From: Pierre Ossman Date: Fri, 12 Apr 2013 12:24:32 +0000 (+0000) Subject: Another attempt at supporting older Xorg versions. X-Git-Tag: v1.2.90~5 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0018c612f96d47282b6d9feefce308722a58a700;p=tigervnc.git 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 --- 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)