diff options
author | Peter Hutterer <peter.hutterer@redhat.com> | 2008-10-22 18:16:12 +1030 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@redhat.com> | 2008-10-22 18:16:12 +1030 |
commit | f6cbe0326c57e3c9897f17baef78199b06537c44 (patch) | |
tree | 5b401adb712180b696e7d1e99bc42ec3afeb5a26 /dix/dispatch.c | |
parent | 0b56b44addc323a00eb7cd86240cb0dd4275bcf8 (diff) |
dix: init remaining three xkb fields to zero in a new client.
Diffstat (limited to 'dix/dispatch.c')
-rw-r--r-- | dix/dispatch.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dix/dispatch.c b/dix/dispatch.c index 3909dc87e..c4a6a9cf8 100644 --- a/dix/dispatch.c +++ b/dix/dispatch.c @@ -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 |