dix: init remaining three xkb fields to zero in a new client.

This commit is contained in:
Peter Hutterer 2008-10-22 18:16:12 +10:30
parent 0b56b44add
commit f6cbe0326c

View File

@ -3483,6 +3483,8 @@ void InitClient(ClientPtr client, int i, pointer ospriv)
if (!noXkbExtension) {
client->xkbClientFlags = 0;
client->mapNotifyMask = 0;
client->newKeyboardNotifyMask = 0;
client->vMinor = client->vMajor = 0;
QueryMinMaxKeyCodes(&client->minKC,&client->maxKC);
}
#endif