Commit 1a8c4532 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

nxagent: use nxagentWMPassed as Bool all over the place

has been used as integer sometimes (technically correct, but not nice)
parent 6b2033bd
...@@ -142,7 +142,7 @@ void nxagentWaitDisplay(void); ...@@ -142,7 +142,7 @@ void nxagentWaitDisplay(void);
void nxagentListRemoteFonts(const char *, int); void nxagentListRemoteFonts(const char *, int);
unsigned int nxagentWMtimeout = 0; unsigned int nxagentWMtimeout = 0;
Bool nxagentWMPassed = 0; Bool nxagentWMPassed = False;
/* /*
* Timeouts based on screen saver time. * Timeouts based on screen saver time.
......
...@@ -3057,7 +3057,7 @@ int nxagentShadowPoll(PixmapPtr nxagentShadowPixmapPtr, GCPtr nxagentShadowGCPtr ...@@ -3057,7 +3057,7 @@ int nxagentShadowPoll(PixmapPtr nxagentShadowPixmapPtr, GCPtr nxagentShadowGCPtr
if (result == 1) if (result == 1)
{ {
if (nxagentWMPassed == 0) if (!nxagentWMPassed)
{ {
nxagentRemoveSplashWindow(NULL); nxagentRemoveSplashWindow(NULL);
} }
......
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