Moved call to initEventq() into InitInputDevice() to prevent NULL events from being passed in. The surrounding IFDEF explains why Red Hat BZ bug #820443 just went away, EL6 bumped the version of xorg-x11-server-source to 1.13 at EL6.4.
vncInputDevice = this;
-#if XORG < 111
- initEventq();
-#endif
-
for (i = 0;i < 256;i++)
pressedKeys[i] = NoSymbol;
}
FatalError("Failed to activate TigerVNC devices\n");
#endif /* 17 */
+#if XORG < 111
+ initEventq();
+#endif
+
PrepareInputDevices();
}