aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Cursor.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-12-30 22:19:50 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-01-15 16:38:11 +0100
commit8bb7d2cd1aa8a0108c5ef66758bc337de239aa11 (patch)
treedce7ceb9d22c5ccc02885f118c3dedc80fbffdda /nx-X11/programs/Xserver/hw/nxagent/Cursor.c
parent1e4d8e32b22cb0442ed8cd2dbd5c1e864a9c3585 (diff)
downloadnx-libs-8bb7d2cd1aa8a0108c5ef66758bc337de239aa11.tar.gz
nx-libs-8bb7d2cd1aa8a0108c5ef66758bc337de239aa11.tar.bz2
nx-libs-8bb7d2cd1aa8a0108c5ef66758bc337de239aa11.zip
nxagent: make Desktop, Rootless and Binder options Booleans (again)
They have been changed to tri-state variables (1, 0 and UNDEFINED) between nxagent 1.5.0-90 and -93, for no obvious reason.
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Cursor.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Cursor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Cursor.c b/nx-X11/programs/Xserver/hw/nxagent/Cursor.c
index 05c78e0ad..dcee721a2 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Cursor.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Cursor.c
@@ -127,7 +127,7 @@ Bool nxagentDisplayCursor(ScreenPtr pScreen, CursorPtr pCursor)
Cursor cursor = (pCursor != rootCursor) ? nxagentCursor(pCursor, pScreen): None;
- if (nxagentOption(Rootless) == False)
+ if (!nxagentOption(Rootless))
{
XDefineCursor(nxagentDisplay,
nxagentInputWindows[pScreen -> myNum],