Re: Let the DDX decide on the XkbRulesDefaults.

2008-12-17 Thread Dan Nicholson
On Tue, Dec 16, 2008 at 11:28 PM, Daniel Stone dan...@fooishbar.org wrote: 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

Let the DDX decide on the XkbRulesDefaults.

2008-12-16 Thread Keith Packard
This patch removes the default rules setting from DIX and adds it to the xfree86 DDX. What happens with other X servers if I apply this patch? -- keith.pack...@intel.com signature.asc Description: This is a digitally signed message part ___ xorg

Re: Let the DDX decide on the XkbRulesDefaults.

2008-12-16 Thread Peter Hutterer
On Tue, Dec 16, 2008 at 12:05:17PM -0800, Dan Nicholson wrote: On Tue, Dec 16, 2008 at 11:50 AM, Keith Packard kei...@keithp.com wrote: This patch removes the default rules setting from DIX and adds it to the xfree86 DDX. What happens with other X servers if I apply this patch?

Re: Let the DDX decide on the XkbRulesDefaults.

2008-12-16 Thread Dan Nicholson
On Tue, Dec 16, 2008 at 1:52 PM, Peter Hutterer peter.hutte...@who-t.net wrote: On Tue, Dec 16, 2008 at 12:05:17PM -0800, Dan Nicholson wrote: diff --git a/xkb/xkbInit.c b/xkb/xkbInit.c index 3935f40..6d45d74 100644 --- a/xkb/xkbInit.c +++ b/xkb/xkbInit.c @@ -87,19 +87,19 @@ typedef struct

Re: Let the DDX decide on the XkbRulesDefaults.

2008-12-16 Thread Daniel Stone
On Tue, Dec 16, 2008 at 09:17:13PM -0800, Keith Packard wrote: On Wed, 2008-12-17 at 07:52 +1000, Peter Hutterer wrote: XkbSetRulesDflts only sets some internal defaults but doesn't actually use them much. XkbInitKeyboardDeviceStruct then calls XkbGetRulesDftls which returns either the ones

Re: Let the DDX decide on the XkbRulesDefaults.

2008-12-16 Thread Dan Nicholson
On Tue, Dec 16, 2008 at 10:25 PM, Peter Hutterer peter.hutte...@who-t.net wrote: On Wed, Dec 17, 2008 at 05:17:19PM +1100, Daniel Stone wrote: On Tue, Dec 16, 2008 at 09:17:13PM -0800, Keith Packard wrote: On Wed, 2008-12-17 at 07:52 +1000, Peter Hutterer wrote: XkbSetRulesDflts only sets