On Tue, Dec 16, 2008 at 11:04:15PM -0800, Dan Nicholson wrote:
> The other reason I had in mind was to tie into the keymap cache patch
> I sent. Smarter default means better chance you can reuse the cached
> map. And I definitely agree that the the XkbSetRulesDflts API is not
> exactly the way you'd envision things working. Would it be better at
> some point to have a new function where the driver just passes in the
> RMLVO it wants instead of setting new defaults and then passing in a
> (probably empty) XkbComponentNamesRec? Then the DDX could just set the
> defaults once instead of having them continually blown away.

 extern Bool InitKeyboardDeviceStruct(
-    DevicePtr /*device*/,
-    KeySymsPtr /*pKeySyms*/,
-    CARD8 /*pModifiers*/[],
+    DeviceIntPtr /*device*/,
+    XkbRMLVOSet * /*rmlvo*/,
     BellProcPtr /*bellProc*/,
     KbdCtrlProcPtr /*controlProc*/);

It's a WIP.

Cheers,
Daniel

Attachment: signature.asc
Description: Digital signature

_______________________________________________
xorg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to