setNoBorder() checks window rules and it doesn't have an immediate effect on the geometry. (cherry picked from commit fccbfd86)