aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-12-31 00:53:11 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-01-15 16:38:11 +0100
commitb9c2db67b481bc1d512aed84e2fd3c269487210f (patch)
treea4065091b3ebe5276784363c4f1e3e15f27214e7
parent9aa33917623085260f85d766bf5761ef2dddb333 (diff)
downloadnx-libs-b9c2db67b481bc1d512aed84e2fd3c269487210f.tar.gz
nx-libs-b9c2db67b481bc1d512aed84e2fd3c269487210f.tar.bz2
nx-libs-b9c2db67b481bc1d512aed84e2fd3c269487210f.zip
Drawable.c: make doRoundRobin a Boolean
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Drawable.c8
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