xserver-multidpi/hw/xfree86/parser
Oleg Samarin 7070ebeeba xfree86: add new key MatchSeat to xorg.conf sections "Device", "Screen", and "ServerLayout"
This patch introduces a new key MatchSeat in xorg.conf (also applies to
any .conf file in xorg.conf.d). It will allow targeting a given
"Device", "Screen", and/or "ServerLayout" section to a particular
seat only (specified by option "-seat" in X server command line),
so that other seats won't be affected.

Without this patch, one needs to write a separate xorg.conf.custom
file and pass it to X server via "-config" option, if one wants that
these settings only apply for the right seat. However, in some cases,
this solution is undesirable or even impossible (e.g. when using GDM,
which doesn't allow X server command line customization).

Example file (/etc/X11/xorg.conf.d/seat1.conf), which would be ignored
by X server unless it was started with "-seat seat1" option:

Section "Device"
    Identifier "card0"
    Driver "nvidia"
    Option "NoLogo" "True"
    MatchSeat "seat1"
EndSection

Signed-off-by: Oleg Samarin <osamarin68@gmail.com>
Signed-off-by: LaƩrcio de Sousa <lbsousajr@gmail.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2014-05-01 08:19:19 +10:00
..
Configint.h xfree86: Fix -Wshadow warnings 2014-01-22 19:56:31 -08:00
configProcs.h xfree86/common: Warning fixes. Mostly const string handling. 2014-01-12 10:14:48 -08:00
Device.c xfree86: add new key MatchSeat to xorg.conf sections "Device", "Screen", and "ServerLayout" 2014-05-01 08:19:19 +10:00
DRI.c Fix build when configured --enable-debug 2014-03-27 14:34:32 +00:00
Extensions.c Fix build when configured --enable-debug 2014-03-27 14:34:32 +00:00
Files.c xfree86: Fix -Wshadow warnings 2014-01-22 19:56:31 -08:00
Flags.c xfree86: Fix -Wshadow warnings 2014-01-22 19:56:31 -08:00
Input.c xfree86: Fix -Wshadow warnings 2014-01-22 19:56:31 -08:00
InputClass.c Revert "xfree86/parser: make strings in xf86MatchGroup const" 2014-02-04 11:27:48 +10:00
Layout.c xfree86: add new key MatchSeat to xorg.conf sections "Device", "Screen", and "ServerLayout" 2014-05-01 08:19:19 +10:00
Makefile.am Replace INCLUDES with AM_CPPFLAGS 2013-08-06 13:08:13 +10:00
Module.c xfree86: Fix -Wshadow warnings 2014-01-22 19:56:31 -08:00
Monitor.c xfree86: Fix -Wshadow warnings 2014-01-22 19:56:31 -08:00
Pointer.c xfree86: Fix -Wshadow warnings 2014-01-22 19:56:31 -08:00
read.c xfree86: Fix -Wshadow warnings 2014-01-22 19:56:31 -08:00
scan.c xfree86: Fix -Wshadow warnings 2014-01-22 19:56:31 -08:00
Screen.c xfree86: add new key MatchSeat to xorg.conf sections "Device", "Screen", and "ServerLayout" 2014-05-01 08:19:19 +10:00
Vendor.c xfree86: Fix -Wshadow warnings 2014-01-22 19:56:31 -08:00
Video.c xfree86: Fix -Wshadow warnings 2014-01-22 19:56:31 -08:00
write.c xfree86: improve check for posix saved ids 2013-08-06 13:03:25 +10:00
xf86Optrec.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86Parser.h xfree86: add new key MatchSeat to xorg.conf sections "Device", "Screen", and "ServerLayout" 2014-05-01 08:19:19 +10:00
xf86tokens.h xfree86: add new key MatchSeat to xorg.conf sections "Device", "Screen", and "ServerLayout" 2014-05-01 08:19:19 +10:00