Fixing conflicts between WineD3D and WGL

Henri Verbeet hverbeet at gmail.com
Mon Apr 21 12:42:04 CDT 2014


On 21 April 2014 17:49, Ken Thomases <ken at codeweavers.com> wrote:
> While implementing support for full-screen surfaces in the X11 driver, it became clear that I needed a reference to the wined3d device window or, more generally, the window for which the surface is a substitute.  This is necessary to manage focus since the full-screen window has to have X focus but the Win32 focus needs to remain with the device window.
>
> Because of that, the function wglCreateSurfaceWINE() now takes a proxy window parameter.  This feels like an ugly kludge but I didn't find a cleaner alternative.  I'd be happy to discuss the X windowing issues that I feel lead to this requirement with anybody who may have better ideas.
>
I'll admit to only having looked over the implementation very briefly
so far, but are we quite sure we need a separate X window for this?



More information about the wine-devel mailing list