diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2020-12-30 22:19:50 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-01-15 16:38:11 +0100 |
commit | 8bb7d2cd1aa8a0108c5ef66758bc337de239aa11 (patch) | |
tree | dce7ceb9d22c5ccc02885f118c3dedc80fbffdda /nx-X11/programs/Xserver/hw/nxagent/Composite.c | |
parent | 1e4d8e32b22cb0442ed8cd2dbd5c1e864a9c3585 (diff) | |
download | nx-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/Composite.c')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Composite.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Composite.c b/nx-X11/programs/Xserver/hw/nxagent/Composite.c index 45799051c..745696219 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Composite.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Composite.c @@ -115,7 +115,7 @@ void nxagentCompositeExtensionInit(void) void nxagentRedirectDefaultWindows(void) { - if (nxagentOption(Rootless) == 1 || + if (nxagentOption(Rootless) || nxagentCompositeEnable == 0) { #ifdef TEST @@ -154,7 +154,7 @@ void nxagentRedirectDefaultWindows(void) void nxagentRedirectWindow(WindowPtr pWin) { - if (nxagentOption(Rootless) == 0 || + if (!nxagentOption(Rootless) || nxagentCompositeEnable == 0) { #ifdef TEST |