John Edmonds : wined3d: If Wine fails to acquire the focus window, allow the wndproc function to continue receiving messages.

Alexandre Julliard julliard at winehq.org
Mon May 2 14:16:15 CDT 2011


Module: wine
Branch: master
Commit: 2fb6b509cb2a69fa9a5d64c62257c15694146a20
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2fb6b509cb2a69fa9a5d64c62257c15694146a20

Author: John Edmonds <pocketcookies2 at gmail.com>
Date:   Fri Apr 29 19:23:18 2011 -0400

wined3d: If Wine fails to acquire the focus window, allow the wndproc function to continue receiving messages.

---

 dlls/wined3d/device.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index f2bc93f..a57ce5e 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -6559,6 +6559,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_Reset(IWineD3DDevice *iface,
                 {
                     ERR("Failed to acquire focus window, hr %#x.\n", hr);
                     wined3d_swapchain_decref(swapchain);
+                    This->filter_messages = filter;
                     return hr;
                 }
 




More information about the wine-cvs mailing list