[core] Support for window in xySlice.