libweston: set the seat automatically based on the XDG_SEAT environment variable
This will allow the seat to be set by the environment as pam_systemd typically sets the XDG_SEAT variable Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
committed by
Pekka Paalanen
parent
efdebbc4e8
commit
b16c4ac55b
+1
-1
@@ -513,7 +513,7 @@ usage(int error_code)
|
||||
#if defined(BUILD_DRM_COMPOSITOR)
|
||||
fprintf(out,
|
||||
"Options for drm-backend.so:\n\n"
|
||||
" --seat=SEAT\t\tThe seat that weston should run on\n"
|
||||
" --seat=SEAT\t\tThe seat that weston should run on, instead of the seat defined in XDG_SEAT\n"
|
||||
" --tty=TTY\t\tThe tty to use\n"
|
||||
" --drm-device=CARD\tThe DRM device to use, e.g. \"card0\".\n"
|
||||
" --use-pixman\t\tUse the pixman (CPU) renderer\n"
|
||||
|
||||
Reference in New Issue
Block a user