disable-keys now really disables sending of keys

This commit is contained in:
Sascha Hlusiak
2007-03-26 18:24:42 -04:00
parent 0a0b5a3e24
commit 32f06e29bf

View File

@@ -133,6 +133,7 @@ xf86JstkRead(LocalDevicePtr local)
break;
case MAPPING_KEY:
if (priv->keys_enabled == TRUE)
for (i=0;i<MAXKEYSPERBUTTON;i++) {
unsigned int k;
if (priv->button[number].pressed == 1)