[PATCH 04/10] wined3d: Make the focus window also the foreground window.
Henri Verbeet
hverbeet at codeweavers.com
Wed Mar 17 15:59:48 CDT 2010
---
dlls/wined3d/device.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index 0968bfc..ed6c031 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -1571,7 +1571,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_Init3D(IWineD3DDevice *iface,
}
}
- if (This->focus_window) SetFocus(This->focus_window);
+ if (This->focus_window) SetForegroundWindow(This->focus_window);
/* Setup the implicit swapchain. This also initializes a context. */
TRACE("Creating implicit swapchain\n");
--
1.6.4.4
More information about the wine-patches
mailing list