1 diff -Nur tigervnc-49d0629dd87c0eb695d72dec7481e9169f55ae9e.orig/unix/xserver/hw/vnc/xorg-version.h tigervnc-49d0629dd87c0eb695d72dec7481e9169f55ae9e/unix/xserver/hw/vnc/xorg-version.h
2 --- tigervnc-49d0629dd87c0eb695d72dec7481e9169f55ae9e.orig/unix/xserver/hw/vnc/xorg-version.h 2015-03-01 12:58:35.000000000 -0700
3 +++ tigervnc-49d0629dd87c0eb695d72dec7481e9169f55ae9e/unix/xserver/hw/vnc/xorg-version.h 2015-08-04 09:46:14.796336147 -0600
6 #elif XORG_VERSION_CURRENT < ((1 * 10000000) + (17 * 100000) + (99 * 1000))
8 +#elif XORG_VERSION_CURRENT < ((1 * 10000000) + (18 * 100000) + (99 * 1000))
11 -#error "X.Org newer than 1.17 is not supported"
12 +#error "X.Org newer than 1.18 is not supported"
16 diff --git a/unix/xserver/hw/vnc/Input.c b/unix/xserver/hw/vnc/Input.c
17 --- a/unix/xserver/hw/vnc/Input.c
18 +++ b/unix/xserver/hw/vnc/Input.c
19 @@ -301,7 +301,7 @@ static inline void pressKey(DeviceIntPtr dev, int kc, Bool down, const char *msg
20 n = GetKeyboardEvents(eventq, dev, action, kc);
21 enqueueEvents(dev, n);
23 - QueueKeyboardEvents(dev, action, kc, NULL);
24 + QueueKeyboardEvents(dev, action, kc);