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
5bbab001
Commit
5bbab001
authored
Feb 07, 2019
by
Ulrich Sibiller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Screen.c: code optimization for rootless mode
In rootless mode skip processing user geometry stuff since the values will we overwritten later anyway.
parent
34e4291d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
Screen.c
nx-X11/programs/Xserver/hw/nxagent/Screen.c
+6
-4
No files found.
nx-X11/programs/Xserver/hw/nxagent/Screen.c
View file @
5bbab001
...
...
@@ -885,10 +885,10 @@ Bool nxagentOpenScreen(ScreenPtr pScreen,
#endif
/*
* Force
d geometry parameter to user geometry
.
* Force
geometry parameter to user geometry except if in rootless mode
.
*/
if
(
nxagentResizeDesktopAtStartup
)
if
(
nxagentResizeDesktopAtStartup
&&
!
nxagentOption
(
Rootless
)
)
{
if
(
nxagentUserGeometry
.
flag
&
XValue
)
{
...
...
@@ -922,9 +922,11 @@ Bool nxagentOpenScreen(ScreenPtr pScreen,
/*
* This is first time the screen is initialized.
* Filling the geometry parameter from user geometry.
* we do not need this in rootless mode since we ignore
* user geometry then.
*/
if
(
nxagentReconnectTrap
==
False
)
if
(
nxagentReconnectTrap
==
False
&&
!
nxagentOption
(
Rootless
)
)
{
if
(
nxagentUserGeometry
.
flag
&
XValue
)
{
...
...
@@ -1067,7 +1069,7 @@ Bool nxagentOpenScreen(ScreenPtr pScreen,
else
/* window mode */
{
/*
* screen is initialized for the first time
* screen is initialized for the first time
.
*/
if
(
nxagentReconnectTrap
==
False
)
...
...
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