Merge pull request #42 from bphinz/buildfixes

Fix pointer initialization to prevent NULL events.
diff --git a/unix/xserver/hw/vnc/Input.cc b/unix/xserver/hw/vnc/Input.cc
index 16fb900..3aae5db 100644
--- a/unix/xserver/hw/vnc/Input.cc
+++ b/unix/xserver/hw/vnc/Input.cc
@@ -126,10 +126,6 @@
 
 	vncInputDevice = this;
 
-#if XORG < 111
-	initEventq();
-#endif
-
 	for (i = 0;i < 256;i++)
 		pressedKeys[i] = NoSymbol;
 }
@@ -360,6 +356,10 @@
 		FatalError("Failed to activate TigerVNC devices\n");
 #endif /* 17 */
 
+#if XORG < 111
+	initEventq();
+#endif
+
 	PrepareInputDevices();
 }