http://bugs.winehq.org/show_bug.cgi?id=29630
--- Comment #5 from Lauri Koponen lauri.koponen@iki.fi 2012-01-19 12:13:52 CST --- Sorry, the ends of long lines went missing. Here's the change again:
diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c index e6affcb..3937b20 100644 --- a/dlls/winex11.drv/window.c +++ b/dlls/winex11.drv/window.c @@ -591,7 +591,7 @@ static BOOL set_win_format( HWND hwnd, XID fbconfig_id ) XInstallColormap(gdi_display, attrib.colormap);
if(data->gl_drawable) XDestroyWindow(gdi_display, data->gl_drawable); - data->gl_drawable = XCreateWindow(gdi_display, dummy_parent, -w, 0, w, h, 0, + data->gl_drawable = XCreateWindow(gdi_display, dummy_parent, 0, 0, w, h, 0, vis->depth, InputOutput, vis->visual, CWColormap | CWOverrideRedirect, &attrib);