[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#492140: xserver-xorg: xorg.conf generated with no ServerLayout section



On Thu, 2008-07-24 at 09:31 +0200, Julien Cristau wrote:
> AIUI, the problem is that the AllowEmptyInput option gets enabled by
> default in xserver >= 1.5, so the server doesn't look for mouse/kbd
> sections in xorg.conf.  It should work fine when AllowEmptyInput is
> disabled, as in xserver 1.4.  I think this is a bug in the server, and
> the mouse/kbd sections in xorg.conf should be considered even without a
> ServerLayout.

Yes, it is the change in the default of the AllowEmptyInput option that
triggers the change in behavior.

But I *think* that with no ServerLayout section the server adds default
input devices rather than hunting them out in the config file, (but I
could be wrong about that part).

Meanwhile, I agree that it's a bug that the server doesn't respect the
InputDevice sections without a ServerLayout section, (it does respect a
Screen section without a ServerLayout section). I even looked a bit at
xf86Config.c to see how easy that might be to fix.

But regardless, that's not fixed now, and the configuration file that
"dpkg-reconfigure xserver-xorg" generates results in a non-functional
setup with xserver >= 1.5. So that's something that should be fixed
still. There are no downsides to actually generating the ServerLayout
section that the server wants, right?

-Carl





Reply to: