Commit ebfd8742 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

Args.c: make autograb available via options file, too.

parent 4eaedd00
...@@ -1547,6 +1547,19 @@ static void nxagentParseSingleOption(char *name, char *value) ...@@ -1547,6 +1547,19 @@ static void nxagentParseSingleOption(char *name, char *value)
return; return;
} }
else if (!strcmp(name, "autograb"))
{
if (!strcmp(value, "0"))
{
nxagentChangeOption(AutoGrab, False);
}
else
{
nxagentChangeOption(AutoGrab, True);
}
return;
}
else else
{ {
#ifdef DEBUG #ifdef DEBUG
......
...@@ -756,6 +756,10 @@ format must be included in both. This is potentially unsafe. ...@@ -756,6 +756,10 @@ format must be included in both. This is potentially unsafe.
means that all of these checks are essentially means that all of these checks are essentially
deactivated. This is a very bad idea. deactivated. This is a very bad idea.
.RE .RE
.TP 8
.B autograb=<int>
enable or disable autograb (default: disabled)
.RE
If you want to use \fBnxagent\fR as a replacement for Xnest or Xephyr you If you want to use \fBnxagent\fR as a replacement for Xnest or Xephyr you
can pass options like this: can pass options like this:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment