]> source.dussan.org Git - tigervnc.git/commitdiff
Fix build errors with XORG < 111: I assume that the last NULL argument
authorPeter Åstrand <astrand@cendio.se>
Wed, 29 Aug 2012 08:56:37 +0000 (08:56 +0000)
committerPeter Åstrand <astrand@cendio.se>
Wed, 29 Aug 2012 08:56:37 +0000 (08:56 +0000)
to GetKeyboardEvents was a typo...

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4982 3789f03b-4d11-0410-bbf8-ca57d06f2519

unix/xserver/hw/vnc/Input.cc

index 9b32648bad98333a47c78d1febd50d21edc5730c..c8b892a2bc6d1bccbf8946b72266f25ba3b1e8da 100644 (file)
@@ -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);