File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed
nx-X11/programs/Xserver/hw/nxagent Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -1493,6 +1493,32 @@ static void nxagentParseOptions(char *name, char *value)
14931493
14941494 return ;
14951495 }
1496+ else if (!strcmp (name , "autograb" ))
1497+ {
1498+ if (!strcmp (value , "0" ))
1499+ {
1500+ nxagentChangeOption (AutoGrab , False );
1501+ }
1502+ else
1503+ {
1504+ nxagentChangeOption (AutoGrab , True );
1505+ }
1506+
1507+ return ;
1508+ }
1509+ else if (!strcmp (name , "inputlock" ))
1510+ {
1511+ if (!strcmp (value , "0" ))
1512+ {
1513+ nxagentChangeOption (InputLock , False );
1514+ }
1515+ else
1516+ {
1517+ nxagentChangeOption (InputLock , True );
1518+ }
1519+
1520+ return ;
1521+ }
14961522 else
14971523 {
14981524 #ifdef DEBUG
Original file line number Diff line number Diff line change @@ -538,6 +538,12 @@ format must be included in both. This is potentially unsafe.
538538.I bypass
539539means that all of these checks are essentially
540540deactivated. This is a very bad idea.
541+ .TP 8
542+ .B autograb=<int>
543+ enable or disable autograb (default: disabled)
544+ .TP 8
545+ .B inputlock=<int>
546+ enable or disable inputlock (default: disabled)
541547.RE
542548
543549.SH XDMCP OPTIONS
You can’t perform that action at this time.
0 commit comments