diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-06-04 11:10:46 +0930 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-06-05 08:53:34 +0930 |
commit | fbf4b5f16ac23359872361c8c95a617fe8c92292 (patch) | |
tree | e6f7f5efe51c1c605432a31418fad1df6d0ef4ff /dix/devices.c | |
parent | ff3adf3e564d94fea18e48f966de40a7ded1279e (diff) |
dix: set dst->mapWidth when allocating a new map.
Diffstat (limited to 'dix/devices.c')
-rw-r--r-- | dix/devices.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dix/devices.c b/dix/devices.c index efdc0c945..c83f2fc9f 100644 --- a/dix/devices.c +++ b/dix/devices.c @@ -1046,6 +1046,7 @@ SetKeySymsMap(KeySymsPtr dst, KeySymsPtr src) if (!map) return FALSE; dst->map = map; + dst->mapWidth = src->mapWidth; } memmove((char *)&dst->map[rowDif * dst->mapWidth], (char *)src->map, |