summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-10-27 01:27:31 +0300
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2006-10-27 01:27:31 +0300
commit196c5836f463c28f633bbba847f59acd5935359d (patch)
treec34deda4f0a23d9079e1ba76259435fe0f85b2a8
parentf9a1e456f8a4eaa1a9c71fd0fe5231140975c22d (diff)
CoreKeyboardProc: annotate with FIXME
Setting an empty keymap by default isn't wildly useful.
-rw-r--r--dix/devices.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/dix/devices.c b/dix/devices.c
index 01404dba5..a554f2f79 100644
--- a/dix/devices.c
+++ b/dix/devices.c
@@ -261,8 +261,11 @@ CoreKeyboardProc(DeviceIntPtr pDev, int what)
}
else
#endif
- InitKeyboardDeviceStruct((DevicePtr)pDev, &keySyms, modMap,
- CoreKeyboardBell, CoreKeyboardCtl);
+ {
+ /* FIXME Our keymap here isn't exactly useful. */
+ InitKeyboardDeviceStruct((DevicePtr)pDev, &keySyms, modMap,
+ CoreKeyboardBell, CoreKeyboardCtl);
+ }
xfree(keySyms.map);
xfree(modMap);