Compton is a placename meaning valley farm. The valley element is the same as cwm in Welsh. And the boundaries between England/Wales and England/Scotland were, for most of the history, very fuzzy indeed, and certainly remain fuzzy as far as people's movement and settlement goes.