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
2cddd5c5
Commit
2cddd5c5
authored
Jan 28, 2020
by
Ulrich Sibiller
Committed by
Mike Gabriel
May 07, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Splash.c: add nxagentHaveSplashWindow helper
parent
7b669d7e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
2 deletions
+8
-2
NXdispatch.c
nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c
+1
-1
Splash.c
nx-X11/programs/Xserver/hw/nxagent/Splash.c
+5
-0
Splash.h
nx-X11/programs/Xserver/hw/nxagent/Splash.h
+1
-0
Window.c
nx-X11/programs/Xserver/hw/nxagent/Window.c
+1
-1
No files found.
nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c
View file @
2cddd5c5
...
...
@@ -330,7 +330,7 @@ Reply Total Cached Bits In Bits Out Bits/Reply Ratio
clientReady
[
0
]
=
0
;
if
(
nxagent
SplashWindow
!=
None
||
(
nxagentOption
(
Xdmcp
)
==
1
&&
nxagentXdmcpUp
==
0
))
if
(
nxagent
HaveSplashWindow
()
||
(
nxagentOption
(
Xdmcp
)
==
1
&&
nxagentXdmcpUp
==
0
))
{
#ifdef TEST
fprintf
(
stderr
,
"******Dispatch: Requesting a timeout of [%d] Ms.
\n
"
,
...
...
nx-X11/programs/Xserver/hw/nxagent/Splash.c
View file @
2cddd5c5
...
...
@@ -160,6 +160,11 @@ void nxagentShowSplashWindow(Window parentWindow)
#endif
}
Bool
nxagentHaveSplashWindow
(
void
)
{
return
(
nxagentSplashWindow
!=
None
);
}
void
nxagentPaintLogo
(
Window
win
,
XlibGC
gc
,
int
scale
,
int
width
,
int
height
)
{
int
depth
=
DefaultDepth
(
nxagentDisplay
,
DefaultScreen
(
nxagentDisplay
));
...
...
nx-X11/programs/Xserver/hw/nxagent/Splash.h
View file @
2cddd5c5
...
...
@@ -42,4 +42,5 @@ extern Window nxagentSplashWindow;
extern
void
nxagentShowSplashWindow
(
Window
);
extern
void
nxagentRemoveSplashWindow
();
extern
Bool
nxagentHaveSplashWindow
(
void
);
#endif
/* __Splash_H__ */
nx-X11/programs/Xserver/hw/nxagent/Window.c
View file @
2cddd5c5
...
...
@@ -1447,7 +1447,7 @@ void nxagentConfigureWindow(WindowPtr pWin, unsigned int mask)
*
* else if (mask & CWStackMode)
* {
* if (nxagent
SplashWindow
)
* if (nxagent
HaveSplashWindow()
)
* {
* valuemask = CWStackMode;
*
...
...
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