Fix bugs to allow multiple keymaps in one process

These were several initializations that were forgotten in the previous
memory leak fixes.

Now several xkb_desc's can coexist (relatively) peacefully.

Signed-off-by: Ran Benita <ran234@gmail.com>

[daniels: Only the atom.c is relevant with the new context API.]
master
Ran Benita 2012-03-31 00:02:12 +03:00 committed by Daniel Stone
parent ffb610c943
commit 3c9493795b
1 changed files with 1 additions and 0 deletions

View File

@ -213,4 +213,5 @@ XkbcFreeAllAtoms(void)
free(nodeTable);
nodeTable = NULL;
lastAtom = XKB_ATOM_NONE;
tableLength = 0;
}