window: fix EventMask type documentation.