summaryrefslogtreecommitdiff
path: root/dix
diff options
context:
space:
mode:
authorBrian <brian@yutani.localnet.net>2007-04-23 12:34:01 -0600
committerBrian <brian@yutani.localnet.net>2007-04-23 12:34:01 -0600
commitce099a9b78195540ec251a6a3dbe26019c1a686d (patch)
tree5637278e716a54e6457f5d1c930e736cfe3f6638 /dix
parentb5e1f7869b2f12a1c2baa7f699ae609fc9ad50aa (diff)
fix bug in which maxKeysPerModifier wasn't getting set
Diffstat (limited to 'dix')
-rw-r--r--dix/devices.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dix/devices.c b/dix/devices.c
index c2d4f22a5..7d8fd0398 100644
--- a/dix/devices.c
+++ b/dix/devices.c
@@ -1241,6 +1241,7 @@ DoSetModifierMapping(ClientPtr client, KeyCode *inputMap,
}
else {
pDev->key->modifierKeyMap = NULL;
+ pDev->key->maxKeysPerModifier = 0;
}
}
}