http://bugs.winehq.org/show_bug.cgi?id=5605
Summary: regression: fraps fails to install Product: Wine Version: CVS Platform: PC URL: http://www2.fraps.com/FRAPS274.EXE OS/Version: Linux Status: NEW Keywords: regression, download Severity: normal Priority: P2 Component: wine-x11driver AssignedTo: wine-bugs@winehq.org ReportedBy: xerox_xerox2000@yahoo.co.uk
Hi, found this wwhile i tried to reproduce bug 5601. The installer does not work for me. Regression test showed that http://cvs.winehq.org/patch.py?id=19308 caused the bug. Following diff against current cvs makes it work again for me:
diff --git a/dlls/winex11.drv/event.c b/dlls/winex11.drv/event.c index ae72f16..640e1a2 100644 --- a/dlls/winex11.drv/event.c +++ b/dlls/winex11.drv/event.c @@ -298,7 +298,7 @@ DWORD X11DRV_MsgWaitForMultipleObjectsEx data->process_event_count++;
if (process_events( data->display, mask )) ret = count; - else if (count || timeout) + else //if (count || timeout) { HANDLE new_handles[MAXIMUM_WAIT_OBJECTS+1]; /* FIXME! */
@@ -309,7 +309,7 @@ DWORD X11DRV_MsgWaitForMultipleObjectsEx timeout, flags & MWMO_ALERTABLE ); if (ret == count) process_events( data->display, mask ); } - else ret = WAIT_TIMEOUT; + //else ret = WAIT_TIMEOUT;
data->process_event_count--; return ret;