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
78484631
Commit
78484631
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: rename nxagentWMStart to nxagentReadyAtom
This better reflects its purpose: Tell listeners we are ready.
parent
bd002ffc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
Screen.c
nx-X11/programs/Xserver/hw/nxagent/Screen.c
+2
-2
Splash.c
nx-X11/programs/Xserver/hw/nxagent/Splash.c
+3
-3
No files found.
nx-X11/programs/Xserver/hw/nxagent/Screen.c
View file @
78484631
...
...
@@ -146,7 +146,7 @@ Window nxagentInputWindows[MAXSCREENS];
Window
nxagentScreenSaverWindows
[
MAXSCREENS
];
#ifdef NXAGENT_ONSTART
Atom
nxagent
WMStart
;
Atom
nxagent
ReadyAtom
;
#endif
ScreenPtr
nxagentDefaultScreen
=
NULL
;
...
...
@@ -927,7 +927,7 @@ Bool nxagentOpenScreen(ScreenPtr pScreen,
nxagentQueryAtoms
(
pScreen
);
#ifdef NXAGENT_ONSTART
nxagent
WMStart
=
nxagentAtoms
[
3
];
/* WM_NX_READY */
nxagent
ReadyAtom
=
nxagentAtoms
[
3
];
/* WM_NX_READY */
#endif
/*
...
...
nx-X11/programs/Xserver/hw/nxagent/Splash.c
View file @
78484631
...
...
@@ -72,7 +72,7 @@ static void nxagentPaintLogo(Window win, GC gc, int scale, int width, int height
* From Screen.c.
*/
extern
Atom
nxagent
WMStart
;
extern
Atom
nxagent
ReadyAtom
;
/*
* From Clipboard.c.
...
...
@@ -106,7 +106,7 @@ void nxagentShowSplashWindow(Window parentWindow)
}
#endif
XSetSelectionOwner
(
nxagentDisplay
,
nxagent
WMStart
,
None
,
CurrentTime
);
XSetSelectionOwner
(
nxagentDisplay
,
nxagent
ReadyAtom
,
None
,
CurrentTime
);
nxagentWMPassed
=
False
;
...
...
@@ -401,7 +401,7 @@ void nxagentRemoveSplashWindow(void)
if
(
!
nxagentWMPassed
)
{
XSetSelectionOwner
(
nxagentDisplay
,
nxagent
WMStart
,
XSetSelectionOwner
(
nxagentDisplay
,
nxagent
ReadyAtom
,
nxagentDefaultWindows
[
0
],
CurrentTime
);
nxagentWMPassed
=
True
;
...
...
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