Module: Mesa Branch: master Commit: 03cfc93ab5ee8a0c6f34f893e86baa3a40582e85 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=03cfc93ab5ee8a0c6f34f893e86baa3a40582e85
Author: Jesse Natalie <[email protected]> Date: Wed Oct 28 15:39:33 2020 -0700 winsys/d3d12: Use MakeWindowAssociation to remove DXGI's alt+enter handling Reviewed-by: Charmaine Lee <[email protected]> Reviewed-by: Erik Faye-Lund <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7535> --- src/gallium/winsys/d3d12/wgl/d3d12_wgl_framebuffer.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gallium/winsys/d3d12/wgl/d3d12_wgl_framebuffer.cpp b/src/gallium/winsys/d3d12/wgl/d3d12_wgl_framebuffer.cpp index 68b5b7d2b80..32723d9fe58 100644 --- a/src/gallium/winsys/d3d12/wgl/d3d12_wgl_framebuffer.cpp +++ b/src/gallium/winsys/d3d12/wgl/d3d12_wgl_framebuffer.cpp @@ -99,6 +99,9 @@ d3d12_wgl_framebuffer_resize(stw_winsys_framebuffer *fb, } swapchain1.As(&framebuffer->swapchain); + + screen->factory->MakeWindowAssociation(framebuffer->window, + DXGI_MWA_NO_WINDOW_CHANGES | DXGI_MWA_NO_ALT_ENTER | DXGI_MWA_NO_PRINT_SCREEN); } else { struct pipe_fence_handle *fence = NULL; _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
