[Bug 3297] UpdateWindow() doesn't call XFlush()

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Mar 17 22:16:53 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=3297





--- Comment #4 from P. Quist <pq at quistnet.nl>  2008-03-17 22:16:52 ---
Created an attachment (id=11465)
 --> (http://bugs.winehq.org/attachment.cgi?id=11465)
Simple fix

I'm pretty new to the code, so it was a bit of a struggle, but I seemed to be
able to fix this particular application by appending a line that seems to cause
the driver to exhale.

I added the line at the end of update_now(), so it pretty much only applies to
applications using the UpdateWindow() function. I got the idea from the
RedrawWindow() function, which calls the same driver function just before it
starts sending WM_PAINTS. (which seemed a bit odd to me, but I'm sure it's
there for a reason)

Thus I didn't see any difference in a few other applications that have painting
issues. But for this test application it does the trick.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list