Merge pull request #4443 from Armada651/exclusive-ui D3D: Move exclusive mode switching to UI thread.