Function: window--state-put-1

Helper function for `window-state-put'.