Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
4eaedd00
Commit
4eaedd00
authored
Mar 16, 2017
by
Ulrich Sibiller
Committed by
Mike Gabriel
Aug 27, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Args.c: Add command line option -autograb.
parent
8bf3429b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
Args.c
nx-X11/programs/Xserver/hw/nxagent/Args.c
+9
-0
nxagent.1
nx-X11/programs/Xserver/hw/nxagent/man/nxagent.1
+3
-0
No files found.
nx-X11/programs/Xserver/hw/nxagent/Args.c
View file @
4eaedd00
...
@@ -1039,6 +1039,14 @@ int ddxProcessArgument(int argc, char *argv[], int i)
...
@@ -1039,6 +1039,14 @@ int ddxProcessArgument(int argc, char *argv[], int i)
return
0
;
return
0
;
}
}
if
(
!
strcmp
(
argv
[
i
],
"-autograb"
))
{
nxagentChangeOption
(
AutoGrab
,
True
);
return
1
;
}
/*
/*
* Disable Xinerama (i.e. fake it in Screen.c) if somehow Xinerama support
* Disable Xinerama (i.e. fake it in Screen.c) if somehow Xinerama support
* has been disabled on the cmdline.
* has been disabled on the cmdline.
...
@@ -2195,6 +2203,7 @@ void ddxUseMsg(void)
...
@@ -2195,6 +2203,7 @@ void ddxUseMsg(void)
ErrorF
(
"-noignore don't ignore pointer and keyboard configuration changes mandated by clients
\n
"
);
ErrorF
(
"-noignore don't ignore pointer and keyboard configuration changes mandated by clients
\n
"
);
ErrorF
(
"-nokbreset don't reset keyboard device if the session is resumed
\n
"
);
ErrorF
(
"-nokbreset don't reset keyboard device if the session is resumed
\n
"
);
ErrorF
(
"-noxkblock always allow applications to change layout through XKEYBOARD
\n
"
);
ErrorF
(
"-noxkblock always allow applications to change layout through XKEYBOARD
\n
"
);
ErrorF
(
"-autograb enable autograb
\n
"
);
ErrorF
(
"-tile WxH size of image tiles (minimum allowed: 32x32)
\n
"
);
ErrorF
(
"-tile WxH size of image tiles (minimum allowed: 32x32)
\n
"
);
ErrorF
(
"-keystrokefile file file with keyboard shortcut definitions
\n
"
);
ErrorF
(
"-keystrokefile file file with keyboard shortcut definitions
\n
"
);
ErrorF
(
"-verbose print more warning and error messages
\n
"
);
ErrorF
(
"-verbose print more warning and error messages
\n
"
);
...
...
nx-X11/programs/Xserver/hw/nxagent/man/nxagent.1
View file @
4eaedd00
...
@@ -457,6 +457,9 @@ The nx-X11 system adds the following command line arguments:
...
@@ -457,6 +457,9 @@ The nx-X11 system adds the following command line arguments:
.B \-forcenx
.B \-forcenx
force use of NX protocol messages assuming communication through \fBnxproxy\fR
force use of NX protocol messages assuming communication through \fBnxproxy\fR
.TP 8
.TP 8
.B \-autograb
enable autograb mode on \fBnxagent\fR startup. The autograb feature can be toggled via nxagent keystrokes
.TP 8
.B \-nxrealwindowprop
.B \-nxrealwindowprop
set property NX_REAL_WINDOW for each X11 client inside \fBnxagent\fR,
set property NX_REAL_WINDOW for each X11 client inside \fBnxagent\fR,
providing the window XID of the corresponding window object on the X
providing the window XID of the corresponding window object on the X
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment