From e9a6f6d1a0b5cf6f7dc4fb122f6d28cbf3929960 Mon Sep 17 00:00:00 2001 From: "Zephaniah E. Hull" Date: Fri, 31 Mar 2006 18:11:52 +0000 Subject: Fix the fd pointer leak reported by primer. (Not the same patch.) Disable the undocumented xkb guts options in the key driver. (Requested by Daniel Stone.) --- src/evdev_key.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/evdev_key.c') diff --git a/src/evdev_key.c b/src/evdev_key.c index 1073d62..c98d336 100644 --- a/src/evdev_key.c +++ b/src/evdev_key.c @@ -387,11 +387,13 @@ EvdevKeyNew (InputInfoPtr pInfo) SetXkbOption (pInfo, "XkbVariant", NULL, &state->key->xkb_variant); SetXkbOption (pInfo, "XkbOptions", NULL, &state->key->xkb_options); + /* SetXkbOption (pInfo, "XkbKeycodes", NULL, &state->key->xkbnames.keycodes); SetXkbOption (pInfo, "XkbTypes", NULL, &state->key->xkbnames.types); SetXkbOption (pInfo, "XkbCompat", NULL, &state->key->xkbnames.compat); SetXkbOption (pInfo, "XkbSymbols", NULL, &state->key->xkbnames.symbols); SetXkbOption (pInfo, "XkbGeometry", NULL, &state->key->xkbnames.geometry); + */ return Success; } -- cgit v1.2.3