diff options
-rw-r--r-- | unix/xserver/hw/vnc/Input.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/unix/xserver/hw/vnc/Input.cc b/unix/xserver/hw/vnc/Input.cc index 16fb9007..3aae5dbf 100644 --- a/unix/xserver/hw/vnc/Input.cc +++ b/unix/xserver/hw/vnc/Input.cc @@ -126,10 +126,6 @@ InputDevice::InputDevice() vncInputDevice = this; -#if XORG < 111 - initEventq(); -#endif - for (i = 0;i < 256;i++) pressedKeys[i] = NoSymbol; } @@ -360,6 +356,10 @@ void InputDevice::InitInputDevice(void) FatalError("Failed to activate TigerVNC devices\n"); #endif /* 17 */ +#if XORG < 111 + initEventq(); +#endif + PrepareInputDevices(); } |