aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Events.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-12-31 00:58:04 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-01-15 16:26:31 +0100
commitfeb7b977331c62122b2314bd09ad57d2accf18a8 (patch)
tree4deab906304fac336a644439a2f7c3ed38b30f7c /nx-X11/programs/Xserver/hw/nxagent/Events.c
parentb76dddcdc3ecebd234f9bc77adc54ff650c1810e (diff)
downloadnx-libs-feb7b977331c62122b2314bd09ad57d2accf18a8.tar.gz
nx-libs-feb7b977331c62122b2314bd09ad57d2accf18a8.tar.bz2
nx-libs-feb7b977331c62122b2314bd09ad57d2accf18a8.zip
nxagent: make nxagentXFixesInfo.Initialized a Boolean
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Events.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Events.c b/nx-X11/programs/Xserver/hw/nxagent/Events.c
index c5bdee63b..1758f649c 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Events.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Events.c
@@ -2831,7 +2831,7 @@ int nxagentHandleXFixesSelectionNotify(XEvent *X)
{
XFixesSelectionEvent *xfixesEvent = (XFixesSelectionEvent *) X;
- if (nxagentXFixesInfo.Initialized == 0)
+ if (!nxagentXFixesInfo.Initialized)
{
#ifdef DEBUG
fprintf(stderr, "%s: XFixes not initialized - doing nothing.\n", __func__);