separated behaviour for floating and sinked windows