Hi Ken,
I'm really sorry about this but I already implemented LockWindowUpdate about a month or two ago. Unfortunately it is blocking on moving invalidation handling into the wineserver, and was not applied.
So, I'm afraid that (a) the work has already been done and (b) the patch you sent, is wrong. I made the same mistake at first - unfortunately LockWindowUpdate is a global thing, ie the locked window is held in-kernel on Windows.
Alexandre: I said at the time we should apply the patch I sent but disable it, so it doesn't get lost/forgotten about. Here's another reason we should do that - it'll stop people reimplementing what has already been done.
thanks -mike
On Wed, 25 Feb 2004 13:28:19 -0500, Ken Belleau wrote:
When there is a locked window, GetDCEx and related functions now returns DCs with an empty visible region unless DCX_LOCKWINDOWUPDATE is specified.
Mike Hearn mike@theoretic.com writes:
Alexandre: I said at the time we should apply the patch I sent but disable it, so it doesn't get lost/forgotten about. Here's another reason we should do that - it'll stop people reimplementing what has already been done.
I'm not going to commit non-working code just to prevent others from implementing it; but if you want to add a comment in GetDC explaining the situation I can definitely apply that.