aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Handlers.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-12-30 22:50:51 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-01-15 16:26:31 +0100
commitfbc4a915850d24cd76cac543042541c9ebfeb5bf (patch)
tree2c872f3a2cea5eeaf704e70f9494357f5f99d0b2 /nx-X11/programs/Xserver/hw/nxagent/Handlers.c
parent41f7a8b4a825aa43e0e4b4888471cf43d9b1f217 (diff)
downloadnx-libs-fbc4a915850d24cd76cac543042541c9ebfeb5bf.tar.gz
nx-libs-fbc4a915850d24cd76cac543042541c9ebfeb5bf.tar.bz2
nx-libs-fbc4a915850d24cd76cac543042541c9ebfeb5bf.zip
nxagent: make nxagentShadowResize a Boolean
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Handlers.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Handlers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Handlers.c b/nx-X11/programs/Xserver/hw/nxagent/Handlers.c
index 59f368e4f..4085f2b90 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Handlers.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Handlers.c
@@ -732,9 +732,9 @@ void nxagentShadowBlockHandler(void * data, struct timeval **timeout, void * mas
nxagentDispatchEvents(NULL);
}
- if (nxagentShadowResize == 1)
+ if (nxagentShadowResize)
{
- nxagentShadowResize = 0;
+ nxagentShadowResize = False;
nxagentShadowAdaptToRatio();
}