Set the 'placement-proc property of WIN to PROC. When the window manager tries to place WIN, it will call PROC to actually set its position. This function must be called before the window is placed (i.e., from before-new-window-hook); see window-style for a way to make sure this function is called at the correct time.