@kbm0 @bruce @vkc Now that rings a bell, it's been ages! Think X has multiple selections, and it may have been that when you lost focus your primary selection became the secondary selection? Vim changes the selection highlight under that circumstance (but it changes back again on refocus, so maybe not).
Fun fact, early Vim only had selection ("*) support, not clipboard, and it was I that got the PoC working for clipboard support, which Bram then adapted and added as "+.
I am old.