summaryrefslogtreecommitdiff
path: root/Xi
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2010-06-10 18:39:10 -0700
committerKeith Packard <keithp@keithp.com>2010-06-10 18:39:10 -0700
commit07a093add0b7e40c4d9b9b59273e3ff9e14a88a7 (patch)
treeed1dfc8d0051a15f417d41fa9d3e7f41d131559e /Xi
parent84190d20954ef7888e4d96832c2a4b3225b4dfa2 (diff)
parentdc614484f93b67e8b62dbb1bb2fd247fe5a4c850 (diff)
Merge remote branch 'whot/for-keith'
Diffstat (limited to 'Xi')
-rw-r--r--Xi/exevents.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Xi/exevents.c b/Xi/exevents.c
index a609c7393..de24b4cc1 100644
--- a/Xi/exevents.c
+++ b/Xi/exevents.c
@@ -193,16 +193,12 @@ void
CopyKeyClass(DeviceIntPtr device, DeviceIntPtr master)
{
KeyClassPtr mk = master->key;
- KeyClassPtr dk = device->key;
- int i;
if (device == master)
return;
mk->sourceid = device->id;
- for (i = 0; i < 8; i++)
- mk->modifierKeyCount[i] = dk->modifierKeyCount[i];
if (!XkbCopyDeviceKeymap(master, device))
FatalError("Couldn't pivot keymap from device to core!\n");