diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2020-12-31 00:53:11 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-01-15 16:26:31 +0100 |
commit | b76dddcdc3ecebd234f9bc77adc54ff650c1810e (patch) | |
tree | 38fa55ac4e91020554088b7346167d5c6ef3a72e /nx-X11/programs/Xserver | |
parent | b814aef39a16ba21e1b2046f902763bc9efd9638 (diff) | |
download | nx-libs-b76dddcdc3ecebd234f9bc77adc54ff650c1810e.tar.gz nx-libs-b76dddcdc3ecebd234f9bc77adc54ff650c1810e.tar.bz2 nx-libs-b76dddcdc3ecebd234f9bc77adc54ff650c1810e.zip |
Drawable.c: make doRoundRobin a Boolean
Diffstat (limited to 'nx-X11/programs/Xserver')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Drawable.c | 8 |
1 files 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 |