Let $S$ be a simply connected surface, possibly with boundary components, with a smooth complete metric of non-positive curvature. Let $X\subset S$ be a closed connected subset. I would like to know if the following procedure produces a convex subset of $S$ that contains $X$:
Construction. For any two points $x_1,x_2\in X$ let $[x_1,x_2]$ be the length minimizing path connecting $x_1$ and $x_2$. Now define $\Omega(X)$ as the union in $S$ of all such paths $[x_1,x_2]$ over all $x_1,x_2\in X$.
Question. Is $\Omega(X)$ convex in $S$?
PS. I have to add some information. A set $C$ is convex if for any two $x_1,x_2\in C$ and any minimizing path $[x_1x_2]$ $C$ contains it.