From: Peter Åstrand Date: Wed, 29 Aug 2012 08:56:37 +0000 (+0000) Subject: Fix build errors with XORG < 111: I assume that the last NULL argument X-Git-Tag: v1.2.90~103 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c0163751c7ed56717c21e1194ceaaa1e6bff009c;p=tigervnc.git Fix build errors with XORG < 111: I assume that the last NULL argument to GetKeyboardEvents was a typo... git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4982 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- diff --git a/unix/xserver/hw/vnc/Input.cc b/unix/xserver/hw/vnc/Input.cc index 9b32648b..c8b892a2 100644 --- a/unix/xserver/hw/vnc/Input.cc +++ b/unix/xserver/hw/vnc/Input.cc @@ -327,7 +327,7 @@ static inline void pressKey(DeviceIntPtr dev, int kc, bool down, const char *msg action = down ? KeyPress : KeyRelease; #if XORG < 111 - n = GetKeyboardEvents(eventq, dev, action, kc, NULL); + n = GetKeyboardEvents(eventq, dev, action, kc); enqueueEvents(dev, n); #else QueueKeyboardEvents(dev, action, kc, NULL);