[X2Go-Commits] [nx-libs] 111/429: Handlers.c: make synchronize a Boolean variable
git-admin at x2go.org
git-admin at x2go.org
Mon Oct 18 09:36:14 CEST 2021
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch 3.6.x
in repository nx-libs.
commit b814aef39a16ba21e1b2046f902763bc9efd9638
Author: Ulrich Sibiller <uli42 at gmx.de>
Date: Thu Dec 31 00:49:57 2020 +0100
Handlers.c: make synchronize a Boolean variable
---
nx-X11/programs/Xserver/hw/nxagent/Handlers.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Handlers.c b/nx-X11/programs/Xserver/hw/nxagent/Handlers.c
index cbe66cd90..d00b13d77 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Handlers.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Handlers.c
@@ -179,7 +179,7 @@ void nxagentBlockHandler(void * data, struct timeval **timeout, void * mask)
* Set if we need to synchronize any drawable.
*/
- static int synchronize;
+ static Bool synchronize;
#ifdef BLOCKS
fprintf(stderr, "[Begin block]\n");
@@ -302,7 +302,7 @@ void nxagentBlockHandler(void * data, struct timeval **timeout, void * mask)
* are synchronized.
*/
- if (synchronize == 1)
+ if (synchronize)
{
/*
* We should not enter the synchronization loop if there is any
@@ -350,7 +350,7 @@ void nxagentBlockHandler(void * data, struct timeval **timeout, void * mask)
nxagentCorruptedBackgrounds > 0 ||
nxagentCorruptedPixmaps > 0));
- if (!nxagentSkipImage && synchronize == 1)
+ if (!nxagentSkipImage && synchronize)
{
#ifdef TEST
fprintf(stderr, "nxagentBlockHandler: Setting a zero timeout with [%d][%d][%d] and "
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
More information about the x2go-commits
mailing list