Commit 78484631 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

nxagent: rename nxagentWMStart to nxagentReadyAtom

This better reflects its purpose: Tell listeners we are ready.
parent bd002ffc
......@@ -146,7 +146,7 @@ Window nxagentInputWindows[MAXSCREENS];
Window nxagentScreenSaverWindows[MAXSCREENS];
#ifdef NXAGENT_ONSTART
Atom nxagentWMStart;
Atom nxagentReadyAtom;
#endif
ScreenPtr nxagentDefaultScreen = NULL;
......@@ -927,7 +927,7 @@ Bool nxagentOpenScreen(ScreenPtr pScreen,
nxagentQueryAtoms(pScreen);
#ifdef NXAGENT_ONSTART
nxagentWMStart = nxagentAtoms[3]; /* WM_NX_READY */
nxagentReadyAtom = nxagentAtoms[3]; /* WM_NX_READY */
#endif
/*
......
......@@ -72,7 +72,7 @@ static void nxagentPaintLogo(Window win, GC gc, int scale, int width, int height
* From Screen.c.
*/
extern Atom nxagentWMStart;
extern Atom nxagentReadyAtom;
/*
* From Clipboard.c.
......@@ -106,7 +106,7 @@ void nxagentShowSplashWindow(Window parentWindow)
}
#endif
XSetSelectionOwner(nxagentDisplay, nxagentWMStart, None, CurrentTime);
XSetSelectionOwner(nxagentDisplay, nxagentReadyAtom, None, CurrentTime);
nxagentWMPassed = False;
......@@ -401,7 +401,7 @@ void nxagentRemoveSplashWindow(void)
if (!nxagentWMPassed)
{
XSetSelectionOwner(nxagentDisplay, nxagentWMStart,
XSetSelectionOwner(nxagentDisplay, nxagentReadyAtom,
nxagentDefaultWindows[0], CurrentTime);
nxagentWMPassed = True;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment