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
60a3c9b0
Commit
60a3c9b0
authored
Aug 16, 2019
by
Ulrich Sibiller
Committed by
Mike Gabriel
Aug 27, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nxagent: move nxagentWMPassed to Splash.c
It is only relevant there.
parent
db4c220b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
10 deletions
+5
-10
NXdispatch.c
nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c
+1
-5
Screen.c
nx-X11/programs/Xserver/hw/nxagent/Screen.c
+0
-3
Splash.c
nx-X11/programs/Xserver/hw/nxagent/Splash.c
+4
-0
Splash.h
nx-X11/programs/Xserver/hw/nxagent/Splash.h
+0
-2
No files found.
nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c
View file @
60a3c9b0
...
...
@@ -144,7 +144,6 @@ void nxagentListRemoteFonts(const char *, int);
#ifdef NXAGENT_ONSTART
unsigned
int
nxagentWMtimeout
=
0
;
#endif
Bool
nxagentWMPassed
=
False
;
/*
* Timeouts based on screen saver time.
...
...
@@ -380,7 +379,7 @@ Reply Total Cached Bits In Bits Out Bits/Reply Ratio
* that the agent is ready.
*/
if
(
!
nxagentWMPassed
&&
(
nxagentWMtimeout
<
currentDispatch
)
)
if
(
nxagentWMtimeout
<
currentDispatch
)
{
nxagentRemoveSplashWindow
();
}
...
...
@@ -590,10 +589,7 @@ ProcReparentWindow(register ClientPtr client)
if
(
!
pWin
)
return
(
BadWindow
);
if
(
!
nxagentWMPassed
)
{
nxagentRemoveSplashWindow
();
}
pParent
=
(
WindowPtr
)
SecurityLookupWindow
(
stuff
->
parent
,
client
,
DixWriteAccess
);
...
...
nx-X11/programs/Xserver/hw/nxagent/Screen.c
View file @
60a3c9b0
...
...
@@ -3104,10 +3104,7 @@ int nxagentShadowPoll(PixmapPtr nxagentShadowPixmapPtr, GCPtr nxagentShadowGCPtr
if
(
result
==
1
)
{
if
(
!
nxagentWMPassed
)
{
nxagentRemoveSplashWindow
();
}
NXShadowExportChanges
(
&
numRects
,
&
ptBox
);
pBox
=
(
BoxRec
*
)
ptBox
;
...
...
nx-X11/programs/Xserver/hw/nxagent/Splash.c
View file @
60a3c9b0
...
...
@@ -65,6 +65,7 @@
Pixmap
nxagentPixmapLogo
;
Window
nxagentSplashWindow
=
None
;
Bool
nxagentWMPassed
=
False
;
static
void
nxagentPaintLogo
(
Window
win
,
GC
gc
,
int
scale
,
int
width
,
int
height
);
...
...
@@ -396,6 +397,9 @@ void nxagentPaintLogo(Window win, GC gc, int scale, int width, int height)
void
nxagentRemoveSplashWindow
(
void
)
{
if
(
nxagentWMPassed
)
return
;
if
(
nxagentReconnectTrap
)
return
;
...
...
nx-X11/programs/Xserver/hw/nxagent/Splash.h
View file @
60a3c9b0
...
...
@@ -39,8 +39,6 @@ extern int nxagentXdmcpUp;
extern
Window
nxagentSplashWindow
;
extern
int
nxagentWMPassed
;
extern
void
nxagentShowSplashWindow
(
Window
);
extern
void
nxagentRemoveSplashWindow
();
...
...
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