diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2018-09-24 21:08:18 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-10-22 14:34:28 +0200 |
commit | 1a8c4532e6640e20eba772c0e4f8f36b933c66ae (patch) | |
tree | 8fe6880c21396424a570f27a9f9765682d4f508a | |
parent | 6b2033bd2c1ae12b91127d26d3f99d8299f6495e (diff) | |
download | nx-libs-1a8c4532e6640e20eba772c0e4f8f36b933c66ae.tar.gz nx-libs-1a8c4532e6640e20eba772c0e4f8f36b933c66ae.tar.bz2 nx-libs-1a8c4532e6640e20eba772c0e4f8f36b933c66ae.zip |
nxagent: use nxagentWMPassed as Bool all over the place
has been used as integer sometimes (technically correct, but not nice)
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c | 2 | ||||
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Screen.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c b/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c index 5cfa92769..22d5f191e 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c +++ b/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c @@ -142,7 +142,7 @@ void nxagentWaitDisplay(void); void nxagentListRemoteFonts(const char *, int); unsigned int nxagentWMtimeout = 0; -Bool nxagentWMPassed = 0; +Bool nxagentWMPassed = False; /* * Timeouts based on screen saver time. diff --git a/nx-X11/programs/Xserver/hw/nxagent/Screen.c b/nx-X11/programs/Xserver/hw/nxagent/Screen.c index 8df5ec546..d8cf695a0 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c @@ -3057,7 +3057,7 @@ int nxagentShadowPoll(PixmapPtr nxagentShadowPixmapPtr, GCPtr nxagentShadowGCPtr if (result == 1) { - if (nxagentWMPassed == 0) + if (!nxagentWMPassed) { nxagentRemoveSplashWindow(NULL); } |