diff options
author | Pierre Ossman <ossman@cendio.se> | 2013-04-12 12:24:32 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2013-04-12 12:24:32 +0000 |
commit | 0018c612f96d47282b6d9feefce308722a58a700 (patch) | |
tree | 4e556ca67f343244a1f081c396280ddf5770d873 /unix | |
parent | c8f3d5518c03f5779fca7f70978685e3eb1879c0 (diff) | |
download | tigervnc-0018c612f96d47282b6d9feefce308722a58a700.tar.gz tigervnc-0018c612f96d47282b6d9feefce308722a58a700.zip |
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
Diffstat (limited to 'unix')
-rw-r--r-- | unix/xserver/hw/vnc/InputXKB.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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) |