Overwriting ctx->hWnd with the current focus window breaks the
relationship between the HIMC handle and its associated window.
This direct assignment does not update the corresponding state
in the wine server, leading to inconsistencies between client and
server.
Signed-off-by: chenzhengyong <chenzhengyong(a)uniontech.com>
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/9097
@whrvt I think that's what is necessary for EGL to work better on NVIDIA right?
--
v2: winex11: Lookup visual from EGL config EGL_NATIVE_VISUAL_ID.
winex11: Move colormap ownership to x11drv_client_surface.
https://gitlab.winehq.org/wine/wine/-/merge_requests/9093