Previously, /window -r (restore window size) was only being applied to windows in a min/max state. This makes sense because it would have no effect on the size of a non-min/max state window.

However, as /window -r also affects window visiblity, it should be applied to windows in a non-min/max state as well, so that a scripter will know that /window -r will make a window visible regardless of what state it is in.

So I think the change makes sense.