[PATCH] xfree86: after VT switching back, only enable previously enabled devices

Daniel Stone daniel at fooishbar.org
Thu Apr 12 08:00:56 PDT 2012


Hi,

On 12 April 2012 07:08, Peter Hutterer <peter.hutterer at who-t.net> wrote:
> bit of a hack, we could store this in the device struct but this approach is
> sufficient.
>
> Note that this only affects xfree86 devices, virtual devices (master
> devices) are enabled anyway.

Can't we add devices while switched away, in which case the result
will be random? Seems like a DeviceIntRec::wasExplicitlyDisabled would
be a better approach.

Cheers,
Daniel


More information about the xorg-devel mailing list