aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Drawable.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-12-31 01:28:49 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-01-15 16:26:31 +0100
commitb44ecc0f897a5d03445aafc120e54b6475699254 (patch)
tree8ee59a2342f6320f9e8dc3e714b118e106f8d64d /nx-X11/programs/Xserver/hw/nxagent/Drawable.c
parentd78837ec3547da1275b635dc0fe6d38de4f8a1cb (diff)
downloadnx-libs-b44ecc0f897a5d03445aafc120e54b6475699254.tar.gz
nx-libs-b44ecc0f897a5d03445aafc120e54b6475699254.tar.bz2
nx-libs-b44ecc0f897a5d03445aafc120e54b6475699254.zip
nxagent: nxagent(Default)WindowIsVisible() are Booleans
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Drawable.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Drawable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Drawable.c b/nx-X11/programs/Xserver/hw/nxagent/Drawable.c
index 2b81a55f5..ca1b09dd3 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Drawable.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Drawable.c
@@ -2309,7 +2309,7 @@ void nxagentCorruptedRegionOnWindow(void *p0, XID x, void *p2)
* The window is not visible.
*/
- if (nxagentWindowIsVisible(pWin) == 0)
+ if (!nxagentWindowIsVisible(pWin))
{
return;
}