window:window_id()

Since: 20220624-141144-bd1b7c5d

Returns the window multiplexer id.