Open
Description
This PR google/dawn#16 adds DXGI_MWA_NO_ALT_ENTER always to Dawn.
Probably the better thing would be for an application to be able to configure the window association when creating the WGPUSurface.
Concretely, something like:
typedef struct WGPUSurfaceDescriptorFromWindowsHWND {
WGPUChainedStruct chain;
void * hinstance;
void * hwnd;
+ uint32_t windowAssocationFlags;
} WGPUSurfaceDescriptorFromWindowsHWND WGPU_STRUCTURE_ATTRIBUTE;
For reference, valid flags are:
#define DXGI_MWA_NO_WINDOW_CHANGES 0x1
#define DXGI_MWA_NO_ALT_ENTER 0x2
#define DXGI_MWA_NO_PRINT_SCREEN 0x4