Gets the number of the workspace @window is on.
the current workspace of @window
3.10
See Implementation
Gets the number of the workspace @window is on.