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
7de7cb09
You need to sign in or sign up before continuing.
Commit
7de7cb09
authored
May 06, 2020
by
Ulrich Sibiller
Committed by
Mike Gabriel
May 07, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reconnect.c: save some lines
parent
64c95c0a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
14 deletions
+1
-14
Reconnect.c
nx-X11/programs/Xserver/hw/nxagent/Reconnect.c
+1
-14
No files found.
nx-X11/programs/Xserver/hw/nxagent/Reconnect.c
View file @
7de7cb09
...
...
@@ -460,19 +460,17 @@ Bool nxagentReconnectSession(void)
if
(
nxagentReconnectDisplay
(
reconnectLossyLevel
[
DISPLAY_STEP
])
==
0
)
{
failedStep
=
DISPLAY_STEP
;
#ifdef TEST
fprintf
(
stderr
,
"nxagentReconnectSession: WARNING! Failed display reconnection.
\n
"
);
#endif
failedStep
=
DISPLAY_STEP
;
goto
nxagentReconnectError
;
}
if
(
nxagentReconnectScreen
(
reconnectLossyLevel
[
SCREEN_STEP
])
==
0
)
{
failedStep
=
SCREEN_STEP
;
goto
nxagentReconnectError
;
}
...
...
@@ -485,7 +483,6 @@ Bool nxagentReconnectSession(void)
if
(
nxagentReconnectFailedFonts
(
reconnectLossyLevel
[
FONT_STEP
])
==
0
)
{
failedStep
=
FONT_STEP
;
goto
nxagentReconnectError
;
}
else
...
...
@@ -528,21 +525,18 @@ Bool nxagentReconnectSession(void)
if
(
nxagentReconnectAllGCs
(
reconnectLossyLevel
[
GC_STEP
])
==
0
)
{
failedStep
=
GC_STEP
;
goto
nxagentReconnectError
;
}
if
(
nxagentReconnectAllColormap
(
reconnectLossyLevel
[
COLORMAP_STEP
])
==
0
)
{
failedStep
=
COLORMAP_STEP
;
goto
nxagentReconnectError
;
}
if
(
nxagentReconnectAllWindows
(
reconnectLossyLevel
[
WINDOW_STEP
])
==
0
)
{
failedStep
=
WINDOW_STEP
;
goto
nxagentReconnectError
;
}
...
...
@@ -551,21 +545,18 @@ Bool nxagentReconnectSession(void)
if
(
nxagentReconnectAllGlyphSet
(
reconnectLossyLevel
[
GLYPHSET_STEP
])
==
0
)
{
failedStep
=
GLYPHSET_STEP
;
goto
nxagentReconnectError
;
}
if
(
nxagentReconnectAllPictFormat
(
reconnectLossyLevel
[
PICTFORMAT_STEP
])
==
0
)
{
failedStep
=
PICTFORMAT_STEP
;
goto
nxagentReconnectError
;
}
if
(
nxagentReconnectAllPicture
(
reconnectLossyLevel
[
PICTURE_STEP
])
==
0
)
{
failedStep
=
PICTURE_STEP
;
goto
nxagentReconnectError
;
}
}
...
...
@@ -573,14 +564,12 @@ Bool nxagentReconnectSession(void)
if
(
nxagentReconnectAllCursor
(
reconnectLossyLevel
[
CURSOR_STEP
])
==
0
)
{
failedStep
=
CURSOR_STEP
;
goto
nxagentReconnectError
;
}
if
(
nxagentSetWindowCursors
(
reconnectLossyLevel
[
WINDOW_STEP
])
==
0
)
{
failedStep
=
WINDOW_STEP
;
goto
nxagentReconnectError
;
}
...
...
@@ -616,7 +605,6 @@ Bool nxagentReconnectSession(void)
#endif
failedStep
=
WINDOW_STEP
;
goto
nxagentReconnectError
;
}
}
...
...
@@ -856,4 +844,3 @@ void nxagentHandleConnectionChanges(void)
}
}
}
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