mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-22 01:20:26 +00:00
xfree86: Add Option AutoServerLayout for input devices.
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: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Keith Packard <keithp at keithp.com>
This commit is contained in:
parent
592b20c517
commit
e1165632bd
4 changed files with 129 additions and 53 deletions
|
|
@ -880,6 +880,11 @@ which are described here.
|
|||
See the individual input driver manual pages for a description of the
|
||||
device\-specific options.
|
||||
.TP 7
|
||||
.BI "Option \*qAutoServerLayout\*q \*q" boolean \*q
|
||||
Always add the device to the ServerLayout section used by this instance of
|
||||
the server. This affects implied layouts as well as explicit layouts
|
||||
specified in the configuration and/or on the command line.
|
||||
.TP 7
|
||||
.BI "Option \*qCorePointer\*q"
|
||||
Deprecated, use
|
||||
.B SendCoreEvents
|
||||
|
|
|
|||
Loading…
Reference in a new issue