Skip to content
  • Peter Hutterer's avatar
    xfree86: Add Option AutoServerLayout for input devices. · e1165632
    Peter Hutterer authored and Dan Nicholson's avatar Dan Nicholson committed
    
    
    Any input device with this option will be automatically added to whichever
    server layout is selected at startup. This removes the need to reference a
    device from the ServerLayout section. The two following configuration are
    identical:
    
    CONFIG 1:
        Section "ServerLayout"
                InputDevice "foo"
        EndSection
    
        Section "InputDevice"
                Identifier "foo"
                ...
        EndSection
    
    CONFIG 2:
        Section "InputDevice"
                Identifier "foo"
                Option "AutoServerLayout" "on"
                ...
        EndSection
    
    The selection of the server layout affects both explicitly specified
    layouts and the implicit layout.
    
    Signed-off-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
    Reviewed-by: Keith Packard <keithp at keithp.com>
    e1165632