diff options
author | Uros Vampl | 2015-11-21 17:11:08 +0100 |
---|---|---|
committer | Uros Vampl | 2015-11-21 17:11:08 +0100 |
commit | 0e65b7d22782fb3d6f2cfd3da3fcfab7d3db6fea (patch) | |
tree | 1cf2e058fed72d896a974d5d5e3b24808c53c227 /xorg118.patch | |
parent | 27b30fe0f1c332fb7a22449af21d940228376cd2 (diff) | |
download | aur-0e65b7d22782fb3d6f2cfd3da3fcfab7d3db6fea.tar.gz |
update for xorg-server-1.18
Diffstat (limited to 'xorg118.patch')
-rw-r--r-- | xorg118.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/xorg118.patch b/xorg118.patch new file mode 100644 index 000000000000..c472139c77f1 --- /dev/null +++ b/xorg118.patch @@ -0,0 +1,29 @@ +diff --git a/unix/xserver/hw/vnc/Input.c b/unix/xserver/hw/vnc/Input.c +index 4c90a95..a92188d 100644 +--- a/unix/xserver/hw/vnc/Input.c ++++ b/unix/xserver/hw/vnc/Input.c +@@ -301,7 +301,7 @@ static inline void pressKey(DeviceIntPtr dev, int kc, Bool down, const char *msg + n = GetKeyboardEvents(eventq, dev, action, kc); + enqueueEvents(dev, n); + #else +- QueueKeyboardEvents(dev, action, kc, NULL); ++ QueueKeyboardEvents(dev, action, kc); + #endif + } + +diff --git a/unix/xserver/hw/vnc/xorg-version.h b/unix/xserver/hw/vnc/xorg-version.h +index 8cc1c86..60610cb 100644 +--- a/unix/xserver/hw/vnc/xorg-version.h ++++ b/unix/xserver/hw/vnc/xorg-version.h +@@ -48,8 +48,10 @@ + #define XORG 116 + #elif XORG_VERSION_CURRENT < ((1 * 10000000) + (17 * 100000) + (99 * 1000)) + #define XORG 117 ++#elif XORG_VERSION_CURRENT < ((1 * 10000000) + (18 * 100000) + (99 * 1000)) ++#define XORG 118 + #else +-#error "X.Org newer than 1.17 is not supported" ++#error "X.Org newer than 1.18 is not supported" + #endif + + #endif |