aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Composite.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Composite.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Composite.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Composite.c b/nx-X11/programs/Xserver/hw/nxagent/Composite.c
index e48671879..4cdcda9df 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Composite.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Composite.c
@@ -59,7 +59,7 @@ void nxagentCompositeExtensionInit(void)
nxagentCompositeEnable = 0;
- if (nxagentOption(Composite) == 1)
+ if (nxagentOption(Composite))
{
int eventBase, errorBase;
@@ -119,7 +119,7 @@ void nxagentRedirectDefaultWindows(void)
{
int i;
- if (nxagentOption(Rootless) == 1 ||
+ if (nxagentOption(Rootless) ||
nxagentCompositeEnable == 0)
{
#ifdef TEST
@@ -159,7 +159,7 @@ void nxagentRedirectDefaultWindows(void)
void nxagentRedirectWindow(WindowPtr pWin)
{
- if (nxagentOption(Rootless) == 0 ||
+ if (!nxagentOption(Rootless) ||
nxagentCompositeEnable == 0)
{
#ifdef TEST