But according to the docs, it should have that. I am attaching the link for the same.
NSEvent windowNumber
Topic:
UI Frameworks
SubTopic:
AppKit
Tags: