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