Commit 6ab0ff5b authored by Sam Edwards's avatar Sam Edwards Committed by Alexandre Julliard

wined3d: Make fullscreen windows use HWND_TOPMOST instead of HWND_TOP.

parent b7649efb
...@@ -1032,7 +1032,7 @@ void CDECL wined3d_device_setup_fullscreen_window(struct wined3d_device *device, ...@@ -1032,7 +1032,7 @@ void CDECL wined3d_device_setup_fullscreen_window(struct wined3d_device *device,
SetWindowLongW(window, GWL_STYLE, style); SetWindowLongW(window, GWL_STYLE, style);
SetWindowLongW(window, GWL_EXSTYLE, exstyle); 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; device->filter_messages = filter_messages;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment