aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Trap.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/Trap.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/Trap.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Trap.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Trap.c b/nx-X11/programs/Xserver/hw/nxagent/Trap.c
index 9453d2036..c582f6a16 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Trap.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Trap.c
@@ -31,7 +31,7 @@
* reentrancy in GC operations.
*/
-int nxagentGCTrap = False;
+int nxagentGCTrap = 0;
/*
* Set if we are enqueing an internal
@@ -39,14 +39,14 @@ int nxagentGCTrap = False;
* Window. Used to remove any screen operation.
*/
-int nxagentScreenTrap = False;
+int nxagentScreenTrap = 0;
/*
* Set if we detected that our RENDER
* implementation is faulty.
*/
-int nxagentRenderTrap = False;
+int nxagentRenderTrap = 0;
/*
* Set if we are executing a GC operation
@@ -54,55 +54,55 @@ int nxagentRenderTrap = False;
* reentrancy in FB layer.
*/
-int nxagentFBTrap = False;
+int nxagentFBTrap = 0;
/*
* Set if we are dispatching a shared
* memory extension request.
*/
-int nxagentShmTrap = False;
+int nxagentShmTrap = 0;
/*
* Set if a shared pixmap operation is
* requested by the client.
*/
-int nxagentShmPixmapTrap = False;
+int nxagentShmPixmapTrap = 0;
/*
* Set if we are dispatching a XVideo
* extension request.
*/
-int nxagentXvTrap = False;
+int nxagentXvTrap = 0;
/*
* Set if we are dispatching a GLX
* extension request.
*/
-int nxagentGlxTrap = False;
+int nxagentGlxTrap = 0;
/*
* Set while we are resuming the session.
*/
-int nxagentReconnectTrap = False;
+int nxagentReconnectTrap = 0;
/*
* Set if we need to realize a drawable
* by using a lossless encoding.
*/
-int nxagentLosslessTrap = False;
+int nxagentLosslessTrap = 0;
/*
* Set to force the synchronization of
* a drawable.
*/
-int nxagentSplitTrap = False;
+int nxagentSplitTrap = 0;
/*
* Set to avoid CapsLock synchronization
@@ -110,7 +110,7 @@ int nxagentSplitTrap = False;
* key to be pressed in the session.
*/
-int nxagentXkbCapsTrap = False;
+int nxagentXkbCapsTrap = 0;
/*
* Set to avoid NumLock synchronization
@@ -118,5 +118,5 @@ int nxagentXkbCapsTrap = False;
* key to be pressed in the session.
*/
-int nxagentXkbNumTrap = False;
+int nxagentXkbNumTrap = 0;