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
29c166db
Commit
29c166db
authored
Feb 21, 2018
by
Mike Gabriel
Committed by
Mihai Moldovan
Feb 27, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nxagent: Also provide auto DPI feature via nx/nx option 'autodpi', taking only…
nxagent: Also provide auto DPI feature via nx/nx option 'autodpi', taking only effect on session startups.
parent
9dd2830e
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
1 deletion
+28
-1
Args.c
nx-X11/programs/Xserver/hw/nxagent/Args.c
+19
-0
nxagent.1
nx-X11/programs/Xserver/hw/nxagent/man/nxagent.1
+5
-0
Loop.cpp
nxcomp/src/Loop.cpp
+2
-1
Misc.cpp
nxcomp/src/Misc.cpp
+1
-0
nxproxy.1
nxproxy/man/nxproxy.1
+1
-0
No files found.
nx-X11/programs/Xserver/hw/nxagent/Args.c
View file @
29c166db
...
...
@@ -1278,6 +1278,25 @@ static void nxagentParseOptions(char *name, char *value)
return
;
}
else
if
(
!
strcmp
(
name
,
"autodpi"
))
{
if
(
nxagentReconnectTrap
==
True
)
{
#ifdef DEBUG
fprintf
(
stderr
,
"nxagentParseOptions: Ignoring option 'autodpi' at reconnection.
\n
"
);
#endif
}
else
if
(
!
strcmp
(
value
,
"0"
))
{
nxagentAutoDPI
=
False
;
}
else
{
nxagentAutoDPI
=
True
;
}
return
;
}
else
if
(
strcmp
(
name
,
"shadowuid"
)
==
0
)
{
nxagentShadowUid
=
atoi
(
value
);
...
...
nx-X11/programs/Xserver/hw/nxagent/man/nxagent.1
View file @
29c166db
...
...
@@ -606,6 +606,11 @@ proxy <-> agent remote sessions)
.B magicpixel=<bool>
enable/disable magic pixel support in fullscreen mode (default: 1, enabled)
.TP 8
.B autodpi=<bool>
enable/disable deriving session DPI automatically from real server
(default: 0, disabled); only takes effect on session startups, gets
ignored when reconnecting to a suspended session
.TP 8
.B sleep=<int>
delay X server operations when suspended (provided in msec), set to
\fI0\fR to keep \fBnxagent\fR session fully functional when suspended
...
...
nxcomp/src/Loop.cpp
View file @
29c166db
...
...
@@ -8476,7 +8476,8 @@ int ParseEnvironmentOptions(const char *env, int force)
strcasecmp
(
name
,
"tile"
)
==
0
||
strcasecmp
(
name
,
"menu"
)
==
0
||
strcasecmp
(
name
,
"magicpixel"
)
==
0
||
strcasecmp
(
name
,
"state"
)
==
0
)
strcasecmp
(
name
,
"autodpi"
)
==
0
||
strcasecmp
(
name
,
"state"
)
==
0
)
{
nxdbg
<<
"Loop: Ignoring agent option '"
<<
name
<<
"' with value '"
<<
value
<<
"'.
\n
"
...
...
nxcomp/src/Misc.cpp
View file @
29c166db
...
...
@@ -344,6 +344,7 @@ defer=n\n\
tile=s
\n
\
menu=n
\n
\
magicpixel=n
\n
\
autodpi=n
\n
\
sleep=n
\n
\
tolerancechecks=s
\n
\
keyconv=s
\n
\
...
...
nxproxy/man/nxproxy.1
View file @
29c166db
...
...
@@ -328,6 +328,7 @@ encryption of the point to point communication.
tile=<string>
menu=<int>
magicpixel=<bool>
autodpi=<bool>
sleep=<int>
.SH NX ENVIRONMENT VARIABLES
...
...
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