[X2Go-Commits] [nx-libs] 112/429: Drawable.c: make doRoundRobin a Boolean

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 b76dddcdc3ecebd234f9bc77adc54ff650c1810e
Author: Ulrich Sibiller <uli42 at gmx.de>
Date:   Thu Dec 31 00:53:11 2020 +0100

    Drawable.c: make doRoundRobin a Boolean
---
 nx-X11/programs/Xserver/hw/nxagent/Drawable.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/nx-X11/programs/Xserver/hw/nxagent/Drawable.c b/nx-X11/programs/Xserver/hw/nxagent/Drawable.c
index f28eb1945..2b81a55f5 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Drawable.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Drawable.c
@@ -1241,7 +1241,7 @@ FIXME: All drawables should be set as synchronized and never marked as
    * round-robin and if the bitmaps are all synchronized.
    */
 
-  int doRoundRobin = (nxagentSynchronization.pDrawable != NULL);
+  Bool doRoundRobin = (nxagentSynchronization.pDrawable != NULL);
 
   nxagentSynchronization.abort = False;
 
@@ -1262,7 +1262,7 @@ FIXME: All drawables should be set as synchronized and never marked as
 
     if (!nxagentSynchronization.abort &&
             nxagentSynchronization.windowBitmaps == 0 &&
-                doRoundRobin == 0)
+                !doRoundRobin)
     {
       if (nxagentCorruptedWindows > 0)
       {
@@ -1294,7 +1294,7 @@ FIXME: All drawables should be set as synchronized and never marked as
 
     if (!nxagentSynchronization.abort &&
             nxagentSynchronization.backgroundBitmaps == 0 &&
-                doRoundRobin == 0)
+                !doRoundRobin)
     {
       if (nxagentCorruptedBackgrounds > 0)
       {
@@ -1328,7 +1328,7 @@ FIXME: All drawables should be set as synchronized and never marked as
 
     if (!nxagentSynchronization.abort &&
             nxagentSynchronization.pixmapBitmaps == 0 &&
-                doRoundRobin == 0)
+                !doRoundRobin)
     {
       #ifdef TEST
 

--
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