wined3d: Spawn a separate thread to adjust the window state of windows belonging...