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
ab801523
You need to sign in or sign up before continuing.
Commit
ab801523
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
b04b58ba
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
13 deletions
+8
-13
NXdispatch.c
nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c
+3
-7
Screen.c
nx-X11/programs/Xserver/hw/nxagent/Screen.c
+1
-4
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 @
ab801523
...
...
@@ -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,9 +379,9 @@ Reply Total Cached Bits In Bits Out Bits/Reply Ratio
* that the agent is ready.
*/
if
(
!
nxagentWMPassed
&&
(
nxagentWMtimeout
<
currentDispatch
)
)
if
(
nxagentWMtimeout
<
currentDispatch
)
{
nxagentRemoveSplashWindow
();
nxagentRemoveSplashWindow
();
}
nxagentClients
=
nClients
;
...
...
@@ -590,10 +589,7 @@ ProcReparentWindow(register ClientPtr client)
if
(
!
pWin
)
return
(
BadWindow
);
if
(
!
nxagentWMPassed
)
{
nxagentRemoveSplashWindow
();
}
nxagentRemoveSplashWindow
();
pParent
=
(
WindowPtr
)
SecurityLookupWindow
(
stuff
->
parent
,
client
,
DixWriteAccess
);
...
...
nx-X11/programs/Xserver/hw/nxagent/Screen.c
View file @
ab801523
...
...
@@ -3118,10 +3118,7 @@ int nxagentShadowPoll(PixmapPtr nxagentShadowPixmapPtr, GCPtr nxagentShadowGCPtr
if
(
result
==
1
)
{
if
(
!
nxagentWMPassed
)
{
nxagentRemoveSplashWindow
();
}
nxagentRemoveSplashWindow
();
NXShadowExportChanges
(
&
numRects
,
&
ptBox
);
pBox
=
(
BoxRec
*
)
ptBox
;
...
...
nx-X11/programs/Xserver/hw/nxagent/Splash.c
View file @
ab801523
...
...
@@ -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 @
ab801523
...
...
@@ -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