Module: wine Branch: master Commit: 1af267f613a365be418778f273afb88624bbfe0e URL: http://source.winehq.org/git/wine.git/?a=commit;h=1af267f613a365be418778f273...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Mon Apr 14 09:59:29 2014 +0200
ddraw/tests: Try to make test_coop_level_mode_set() more reliable.
It appears that particularly on slower setups, on occasion we don't receive WM_DISPLAYCHANGE messages after a mode change. The theory is that the SendMessageTimeoutW() call in X11DRV_resize_desktop() ends up hitting the is_queue_hung() check in the send_message handler in the server, and the PeekMessage() calls should avoid that.
---
dlls/ddraw/tests/ddraw1.c | 7 +++++++ dlls/ddraw/tests/ddraw2.c | 9 +++++++++ dlls/ddraw/tests/ddraw4.c | 9 +++++++++ dlls/ddraw/tests/ddraw7.c | 9 +++++++++ 4 files changed, 34 insertions(+)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=1af267f613a365be418778...