In the case of Poland, though, the post-war situation had more to do with Stalin wanting to punish Poland for interfering in Ukraine, as well as put more distance between the core of the Soviet Union and Germany, by seizing Polish territory in the east to give to the Ukrainian SSR, but in exchange and to weaken Germany, most of Prussia in Germany was seized and given to Poland, with the attending population transfers. In any case, with the Warsaw Pact, any revanchist sentiments that may have remained in Poland weren't going to get off the ground.