dinput/tests: Skip acquire tests when not running in the foreground.
authorGreg Geldorp <ggeldorp@vmware.com>
Thu, 6 Jan 2011 12:10:27 +0000 (13:10 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 6 Jan 2011 17:29:14 +0000 (18:29 +0100)
commit62670dc39e00fd7855e26d46771fa6d10104c690
tree950c7e24a271851cedfd3d66f4f5ea71ead751ef
parent01286b97e3e0a610f8eae8e00c87653f9b7088c2
dinput/tests: Skip acquire tests when not running in the foreground.

If our window isn't the foreground window, we'll never be able to
successfully Acquire with SetCooperativeLevel DISCL_FOREGROUND in effect.
dlls/dinput/tests/mouse.c