I don't know. I just tested it.
  • If the window is first maximized and than minimized, than the window gets maximized.
  • If the window is maximized, than the window gets restored.

I tested this with 4.60 and 4.61