When the object view is set to Wireframe, the display must be set as wireframe view with x-ray on. Now the x-ray switch is handled by object.
When the object view is set to Wireframe, the display must be set as wireframe view with x-ray on. Now the x-ray switch is handled by object.