wined3d: Spawn a separate thread to adjust the window state of windows belonging...
commit1765c4594f6a11fe0df1aed7261cfafdb7514c43
authorHenri Verbeet <hverbeet@codeweavers.com>
Mon, 4 Apr 2022 15:02:59 +0000 (4 17:02 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 4 Apr 2022 17:52:45 +0000 (4 19:52 +0200)
tree2971d7d55ec6ec31c2465abfb44493c0bda419d4
parent3827f0487db5ad12f1beb7aabb4e6bbc278a8145
wined3d: Spawn a separate thread to adjust the window state of windows belonging to other threads.

Sending messages to windows on other threads can deadlock if those threads
aren't processing messages. The deeper issue is that we shouldn't be touching
the window styles in the first place, but avoiding that may not be feasible
without specific support from winex11/winemac.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/wined3d/swapchain.c