Remove the 'type channel' from the 'WINDOW' signature

Instead the adopt the convention that the 'create' function passes
in the correct event channel to use, so we don't have to keep
resupplying it on every call to 'wait'

Signed-off-by: David Scott <dave.scott@citrix.com>