Merge "Don't throw when setting the same windowing mode"