X-ray for blender 2.78

Hello !

I have a problem with my X-ray, if I select X-ray the mesh is opaque. And when unclicking X-ray, only the geometries that intersect with the surface become transparent.

What should I do ?