mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-24 20:55:49 +00:00
xkb: when copying sections, make sure num_rows is set too.
This commit is contained in:
parent
521a7f26e0
commit
41991fb991
1 changed files with 1 additions and 0 deletions
|
|
@ -1806,6 +1806,7 @@ XkbCopyKeymap(XkbDescPtr src, XkbDescPtr dst, Bool sendNotifies)
|
|||
return FALSE;
|
||||
dsection->rows = tmp;
|
||||
}
|
||||
dsection->num_rows = ssection->num_rows;
|
||||
for (j = 0, srow = ssection->rows, drow = dsection->rows;
|
||||
j < ssection->num_rows;
|
||||
j++, srow++, drow++) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue