mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-24 07:50:05 +01:00
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>
|
||
|---|---|---|
| .. | ||
| Configint.h | ||
| configProcs.h | ||
| Device.c | ||
| DRI.c | ||
| Extensions.c | ||
| Files.c | ||
| Flags.c | ||
| Input.c | ||
| InputClass.c | ||
| Layout.c | ||
| Makefile.am | ||
| Module.c | ||
| Monitor.c | ||
| Pointer.c | ||
| read.c | ||
| scan.c | ||
| Screen.c | ||
| Vendor.c | ||
| Video.c | ||
| write.c | ||
| xf86Optrec.h | ||
| xf86Parser.h | ||
| xf86tokens.h | ||