When creating windows, and when returning a widgets visual, use the new API to get the preferred visual.