(window) Save/restore window geometry