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]; ...@@ -146,7 +146,7 @@ Window nxagentInputWindows[MAXSCREENS];
Window nxagentScreenSaverWindows[MAXSCREENS]; Window nxagentScreenSaverWindows[MAXSCREENS];
#ifdef NXAGENT_ONSTART #ifdef NXAGENT_ONSTART
Atom nxagentWMStart; Atom nxagentReadyAtom;
#endif #endif
ScreenPtr nxagentDefaultScreen = NULL; ScreenPtr nxagentDefaultScreen = NULL;
...@@ -927,7 +927,7 @@ Bool nxagentOpenScreen(ScreenPtr pScreen, ...@@ -927,7 +927,7 @@ Bool nxagentOpenScreen(ScreenPtr pScreen,
nxagentQueryAtoms(pScreen); nxagentQueryAtoms(pScreen);
#ifdef NXAGENT_ONSTART #ifdef NXAGENT_ONSTART
nxagentWMStart = nxagentAtoms[3]; /* WM_NX_READY */ nxagentReadyAtom = nxagentAtoms[3]; /* WM_NX_READY */
#endif #endif
/* /*
......
...@@ -72,7 +72,7 @@ static void nxagentPaintLogo(Window win, GC gc, int scale, int width, int height ...@@ -72,7 +72,7 @@ static void nxagentPaintLogo(Window win, GC gc, int scale, int width, int height
* From Screen.c. * From Screen.c.
*/ */
extern Atom nxagentWMStart; extern Atom nxagentReadyAtom;
/* /*
* From Clipboard.c. * From Clipboard.c.
...@@ -106,7 +106,7 @@ void nxagentShowSplashWindow(Window parentWindow) ...@@ -106,7 +106,7 @@ void nxagentShowSplashWindow(Window parentWindow)
} }
#endif #endif
XSetSelectionOwner(nxagentDisplay, nxagentWMStart, None, CurrentTime); XSetSelectionOwner(nxagentDisplay, nxagentReadyAtom, None, CurrentTime);
nxagentWMPassed = False; nxagentWMPassed = False;
...@@ -401,7 +401,7 @@ void nxagentRemoveSplashWindow(void) ...@@ -401,7 +401,7 @@ void nxagentRemoveSplashWindow(void)
if (!nxagentWMPassed) if (!nxagentWMPassed)
{ {
XSetSelectionOwner(nxagentDisplay, nxagentWMStart, XSetSelectionOwner(nxagentDisplay, nxagentReadyAtom,
nxagentDefaultWindows[0], CurrentTime); nxagentDefaultWindows[0], CurrentTime);
nxagentWMPassed = True; 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