[Patch] AllowEmptyInput with no ServerLayout

Peter Hutterer peter.hutterer at who-t.net
Tue Jul 1 20:45:22 PDT 2008


Sascha:

On Tue, Jul 01, 2008 at 04:20:08PM +0200, Sascha Hlusiak wrote:
> when not using a layout section in xorg.conf, the function 
> checkCoreInputDevices is called too early, when option AllowEmptyInput has 
> not been parsed, so I end up with the default keyboard and default pointer 
> being added. 
> 
> The function checkCoreInputDevices is called later anyway so I felt free to 
> remove the call in configImpliedLayout.

how about this one? 

In master, checkCoreInputDevices was only called in configImpliedLayout (was
removed ages ago). This patch applies your changes and resurrects checkInput.
AllowEmptyInput is enabled if AutoAddDevices and AutoEnableDevices is enabled,
otherwise it's disabled.

Cheers,
  Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-xfree86-AllowEmptyInput-is-now-enabled-by-default-i.patch
Type: text/x-diff
Size: 3132 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20080702/c4d8458b/attachment.patch>


More information about the xorg mailing list