diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2020-12-31 01:28:49 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-01-15 16:38:11 +0100 |
commit | f8b75926363cd9f337e2b95fe6e5301b21f76ed5 (patch) | |
tree | 08946e0daa69eec4d1878919de2112e713b85102 /nx-X11/programs/Xserver/hw/nxagent/Image.c | |
parent | 108ed9d928bae39c6398a3b11770f40749f07bc1 (diff) | |
download | nx-libs-f8b75926363cd9f337e2b95fe6e5301b21f76ed5.tar.gz nx-libs-f8b75926363cd9f337e2b95fe6e5301b21f76ed5.tar.bz2 nx-libs-f8b75926363cd9f337e2b95fe6e5301b21f76ed5.zip |
nxagent: nxagent(Default)WindowIsVisible() are Booleans
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Image.c')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Image.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Image.c b/nx-X11/programs/Xserver/hw/nxagent/Image.c index eb4085ef3..8c828df20 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Image.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Image.c @@ -525,8 +525,8 @@ void nxagentPutImage(DrawablePtr pDrawable, GCPtr pGC, int depth, */ if (!nxagentOption(IgnoreVisibility) && pDrawable -> type == DRAWABLE_WINDOW && - (nxagentWindowIsVisible((WindowPtr) pDrawable) == 0 || - (nxagentDefaultWindowIsVisible() == 0 && nxagentCompositeEnable == 0))) + (!nxagentWindowIsVisible((WindowPtr) pDrawable) || + (!nxagentDefaultWindowIsVisible() && nxagentCompositeEnable == 0))) { #ifdef TEST |