aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Pixels.h
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-12-30 22:31:01 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-01-15 16:38:11 +0100
commit616d8619f9420eca1eb7adb628de2675d6b359a2 (patch)
tree5bfff8148814fb32056e77d8b2fae2116e2079e8 /nx-X11/programs/Xserver/hw/nxagent/Pixels.h
parentc3b6dfe2e2c407ecdbcf0154495d246b10f6a7e7 (diff)
downloadnx-libs-616d8619f9420eca1eb7adb628de2675d6b359a2.tar.gz
nx-libs-616d8619f9420eca1eb7adb628de2675d6b359a2.tar.bz2
nx-libs-616d8619f9420eca1eb7adb628de2675d6b359a2.zip
nxagent: treat all Traps as Booleans everywhere
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Pixels.h')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Pixels.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Pixels.h b/nx-X11/programs/Xserver/hw/nxagent/Pixels.h
index 07f57621e..181537009 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Pixels.h
+++ b/nx-X11/programs/Xserver/hw/nxagent/Pixels.h
@@ -145,7 +145,7 @@ FIXME: Changed macro: NXAGENT_SHOULD_DEFER_COMPOSITE
#define NXAGENT_SHOULD_DEFER_PUTIMAGE(pDrawable) \
- (nxagentSplitTrap == 0 && \
+ (!nxagentSplitTrap && \
nxagentOption(DeferLevel) > 0)
/*