diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2020-12-30 22:43:07 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-01-15 16:26:31 +0100 |
commit | 73bdca0f804a20603e57825f78614c4e9a550903 (patch) | |
tree | 59ddf4b3df8528263007c4a87695787b3b76b3de /nx-X11/programs/Xserver/hw/nxagent/Window.c | |
parent | a72f77fc9face4e9854959c5c2ad4915db8c39e8 (diff) | |
download | nx-libs-73bdca0f804a20603e57825f78614c4e9a550903.tar.gz nx-libs-73bdca0f804a20603e57825f78614c4e9a550903.tar.bz2 nx-libs-73bdca0f804a20603e57825f78614c4e9a550903.zip |
nxagent: some more Boolean improvements
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Window.c')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Window.c b/nx-X11/programs/Xserver/hw/nxagent/Window.c index a5f457796..fa1910eac 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Window.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Window.c @@ -2146,7 +2146,7 @@ void nxagentWindowExposures(WindowPtr pWin, RegionPtr pRgn, RegionPtr other_expo if (nxagentSessionState != SESSION_DOWN) { - if (nxagentExposeArrayIsInitialized == 0) + if (!nxagentExposeArrayIsInitialized) { #ifdef TEST fprintf(stderr, "nxagentWindowExposures: Initializing expose queue.\n"); @@ -2171,7 +2171,7 @@ void nxagentWindowExposures(WindowPtr pWin, RegionPtr pRgn, RegionPtr other_expo nxagentInitRemoteExposeRegion(); - nxagentExposeArrayIsInitialized = 1; + nxagentExposeArrayIsInitialized = True; } RegionRec temp; |