mirror of
https://gitlab.winehq.org/wine/wine.git
synced 2024-11-19 17:06:04 -07:00
Merge branch 'mr/d3d9ex-test-fix' into 'master'
d3d9/tests: Flush events after minimizing and restoring focus window. See merge request wine/wine!6821
This commit is contained in:
commit
14685f341f
1 changed files with 2 additions and 0 deletions
|
@ -3145,7 +3145,9 @@ static void test_wndproc(void)
|
||||||
* immediately restores the device on activation. There are plenty of WM_WINDOWPOSCHANGED
|
* immediately restores the device on activation. There are plenty of WM_WINDOWPOSCHANGED
|
||||||
* messages that are generated by ShowWindow, so testing for their absence is pointless. */
|
* messages that are generated by ShowWindow, so testing for their absence is pointless. */
|
||||||
ShowWindow(focus_window, SW_MINIMIZE);
|
ShowWindow(focus_window, SW_MINIMIZE);
|
||||||
|
flush_events();
|
||||||
ShowWindow(focus_window, SW_RESTORE);
|
ShowWindow(focus_window, SW_RESTORE);
|
||||||
|
flush_events();
|
||||||
SetForegroundWindow(focus_window);
|
SetForegroundWindow(focus_window);
|
||||||
flush_events();
|
flush_events();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue