aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/NXrender.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-02-15 09:37:18 +0100
committerUlrich Sibiller <uli42@gmx.de>2019-02-15 09:43:02 +0100
commit586742b715a3e3451a4587439778c410a1970cdd (patch)
treeafec05c1ea5a1f9fcdc1a54f4d2b5050706e75c2 /nx-X11/programs/Xserver/hw/nxagent/NXrender.c
parentb61934be2e9b4a8d3112270b0e691d47f99ba39f (diff)
downloadnx-libs-586742b715a3e3451a4587439778c410a1970cdd.tar.gz
nx-libs-586742b715a3e3451a4587439778c410a1970cdd.tar.bz2
nx-libs-586742b715a3e3451a4587439778c410a1970cdd.zip
Revert "nxagent: rework Bool handling"
This reverts commit 16cd2bbe1c4425e3fa557f9ca0723aa94a50b071. It turned out that I had missed some of the Booleans being actually tristate variables. I think I can fix this (they do not need to be tristate) but I revert this for now to get back to a working state (there are reports about non-working fullscreen mode and reconnect problems). Refers to ArcticaProject/nx-libs#772
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/NXrender.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/NXrender.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXrender.c b/nx-X11/programs/Xserver/hw/nxagent/NXrender.c
index f7bf50028..ce4ea9d5f 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/NXrender.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/NXrender.c
@@ -1683,11 +1683,11 @@ ProcRenderDispatch (ClientPtr client)
* avoid reentrancy in GCOps.c.
*/
- nxagentGCTrap = True;
+ nxagentGCTrap = 1;
result = (*ProcRenderVector[stuff->data]) (client);
- nxagentGCTrap = False;
+ nxagentGCTrap = 0;
return result;
}
@@ -1720,11 +1720,11 @@ SProcRenderDispatch (ClientPtr client)
* avoid reentrancy in GCOps.c.
*/
- nxagentGCTrap = True;
+ nxagentGCTrap = 1;
result = (*SProcRenderVector[stuff->data]) (client);
- nxagentGCTrap = False;
+ nxagentGCTrap = 0;
return result;
}