This wine-specific extension will allow us to correctly implement fullscreen-exclusive windows without manipulating the window styles.
Signed-off-by: Rémi Bernon rbernon@codeweavers.com --- dlls/opengl32/make_opengl | 1 + dlls/opengl32/winegl.xml | 10 ++++++++++ 2 files changed, 11 insertions(+)
diff --git a/dlls/opengl32/make_opengl b/dlls/opengl32/make_opengl index f91796ee3af..2e7e35ee626 100755 --- a/dlls/opengl32/make_opengl +++ b/dlls/opengl32/make_opengl @@ -391,6 +391,7 @@ my %supported_wgl_extensions = "WGL_NV_render_depth_texture" => 1, "WGL_NV_render_texture_rectangle" => 1, "WGL_NV_vertex_array_range" => 1, + "WGL_WINE_fullscreen_exclusive" => 1, "WGL_WINE_pixel_format_passthrough" => 1, "WGL_WINE_query_renderer" => 1, ); diff --git a/dlls/opengl32/winegl.xml b/dlls/opengl32/winegl.xml index 7918c3ff894..c046bc033ce 100644 --- a/dlls/opengl32/winegl.xml +++ b/dlls/opengl32/winegl.xml @@ -301,6 +301,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA <!-- pixel format is wrongly specified 'const' in wgl.xml --> <param><ptype>PIXELFORMATDESCRIPTOR</ptype> *<name>ppfd</name></param> </command> + <command> + <proto>BOOL <name>wglSetFullscreenExclusiveWINE</name></proto> + <param><ptype>HWND</ptype> <name>hwnd</name></param> + <param>int <name>fullscreen_exclusive</name></param> + </command> <command> <proto>BOOL <name>wglSetPixelFormatWINE</name></proto> <param><ptype>HDC</ptype> <name>hdc</name></param> @@ -413,6 +418,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA <command name="glDeleteObjectBufferATI"/> </require> </extension> + <extension name="WGL_WINE_fullscreen_exclusive" supported="wgl"> + <require> + <command name="wglSetFullscreenExclusiveWINE"/> + </require> + </extension> <extension name="WGL_WINE_pixel_format_passthrough" supported="wgl"> <require> <command name="wglSetPixelFormatWINE"/>