[X2Go-Commits] [nx-libs] 184/219: nxagent: simplify nxagentWaitEvents()