Throw error if not in X (wlshot)