diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2020-12-30 23:52:32 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-01-15 16:26:31 +0100 |
commit | b8017065de448d461d75f6c2891a961f4bb85b7a (patch) | |
tree | f5abb6a78245d146c6553b6fe0b00d357879829a /nx-X11/programs/Xserver/hw/nxagent/Events.c | |
parent | 06833b9646f6286effac00a058b231f7ddbb960f (diff) | |
download | nx-libs-b8017065de448d461d75f6c2891a961f4bb85b7a.tar.gz nx-libs-b8017065de448d461d75f6c2891a961f4bb85b7a.tar.bz2 nx-libs-b8017065de448d461d75f6c2891a961f4bb85b7a.zip |
nxagent: handle RegionNil macro as Boolean
just as the rest of the Xserver is alsow doing
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Events.c')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Events.c | 2 |
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 f371363a6..256c7c241 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Events.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Events.c @@ -4065,7 +4065,7 @@ void nxagentSynchronizeExpose(void) (nxagentExposeQueueHead.remoteRegion), (nxagentExposeQueueHead.localRegion)); - if (RegionNil(nxagentExposeQueueHead.remoteRegion) == 0 && + if (!RegionNil(nxagentExposeQueueHead.remoteRegion) && ((pWin -> eventMask|wOtherEventMasks(pWin)) & ExposureMask)) { #ifdef TEST |