diff options
author | David Herrmann <dh.herrmann@googlemail.com> | 2012-12-09 18:34:26 +0100 |
---|---|---|
committer | David Herrmann <dh.herrmann@googlemail.com> | 2012-12-09 18:34:26 +0100 |
commit | 6e8fb5aa0d9dc493b69c92b873e99fdb4437019c (patch) | |
tree | 8e53445adaeeb134f4ee29dd025409f1dbbc8088 /src/kmscon_conf.c | |
parent | b78244e1ab3b52c42aa439a80c82f81989338a6c (diff) |
kmscon: add --seats=current option
This option uses XDG_SEAT to determine the current seat. If this is NULL,
we fall back to "seat0".
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Diffstat (limited to 'src/kmscon_conf.c')
-rw-r--r-- | src/kmscon_conf.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/kmscon_conf.c b/src/kmscon_conf.c index 95158c8..242a576 100644 --- a/src/kmscon_conf.c +++ b/src/kmscon_conf.c @@ -73,8 +73,7 @@ static void print_help() "Seat Options:\n" "\t --vt <vt> [auto] Select which VT to run on\n" "\t --switchvt [on] Automatically switch to VT\n" - "\t --seats <list,of,seats> [seat0] Select seats or pass 'all' to make\n" - "\t kmscon run on all seats\n" + "\t --seats <list,of,seats> [current] Select seats to run on\n" "\n" "Session Options:\n" "\t --session-max <max> [50] Maximum number of sessions\n" @@ -494,7 +493,7 @@ static int aftercheck_listen(struct conf_option *opt, int argc, char **argv, * speeds up config-parser considerably. */ -static char *def_seats[] = { "seat0", NULL }; +static char *def_seats[] = { "current", NULL }; static struct conf_grab def_grab_scroll_up = CONF_SINGLE_GRAB(SHL_SHIFT_MASK, XKB_KEY_Up); |