In windows, it's easy. Press alt+<space> and then 'm' and then arrow keys till the window is in frame and finally 'enter' when you are done.
Even easier is to use Win+<arrow keys> to get window to a particular boundary of the screen, but when you restore the frame, it will still be in the 'half out of screen' position.