[RFC] Xdummy standalone binary or "-dummy" switch
Jamey Sharp
jamey at minilop.net
Sun Oct 2 01:53:12 PDT 2011
On Fri, Sep 30, 2011 at 08:53:25AM +1000, Peter Hutterer wrote:
> On Thu, Sep 29, 2011 at 12:10:29PM -0700, Jamey Sharp wrote:
> > I use these settings in my nested/dummy testing, which seem to suffice
> > for me:
> >
> > Section "ServerFlags"
> > Option "AutoEnableDevices" "false"
> > Option "AutoAddDevices" "false"
> > EndSection
> >
> > I'm not sure even AutoEnableDevices is relevant; I think AutoAddDevices
> > is the important flag. You shouldn't need to add any input devices, not
> > even "void" ones.
>
> There's little need for AutoEnableDevices ever. I think the main reason it
> is there is because XI 1.3- had a rather different notion of
> enabled/disabled devices than we have now.
>
> If your nested driver needs to disable this, we could add a hook to the
> DDX to let a driver toggle AAD defaults.
You might reasonably want to have a real video driver alongside a nested
screen in a Xinerama setup, and use all your real input devices. I'm not
sure the presence of a nested screen is the right hint to suppress
AutoAddDevices.
This seems related to Lennart's multi-seat bits, sort of. We usually
want input devices bound together with particular output devices. Since
a dummy or nested driver doesn't naturally have any real input devices
bound to it, we wouldn't normally want any pulled in.
Jamey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20111002/c8811115/attachment.pgp>
More information about the xorg-devel
mailing list