Sam Edwards : wined3d: Make fullscreen windows use HWND_TOPMOST instead of HWND_TOP.

Alexandre Julliard julliard at winehq.org
Wed Apr 3 14:33:55 CDT 2013


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

Author: Sam Edwards <CFSworks at gmail.com>
Date:   Sun Mar 31 18:25:18 2013 -0600

wined3d: Make fullscreen windows use HWND_TOPMOST instead of HWND_TOP.

---

 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 c7874ba..bca5a54 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -1032,7 +1032,7 @@ void CDECL wined3d_device_setup_fullscreen_window(struct wined3d_device *device,
 
     SetWindowLongW(window, GWL_STYLE, style);
     SetWindowLongW(window, GWL_EXSTYLE, exstyle);
-    SetWindowPos(window, HWND_TOP, 0, 0, w, h, SWP_FRAMECHANGED | SWP_SHOWWINDOW | SWP_NOACTIVATE);
+    SetWindowPos(window, HWND_TOPMOST, 0, 0, w, h, SWP_FRAMECHANGED | SWP_SHOWWINDOW | SWP_NOACTIVATE);
 
     device->filter_messages = filter_messages;
 }




More information about the wine-cvs mailing list