Commit 83f7b39d authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

When changing from DIB_Status_GdiMod to DIB_Status_GdiMod, we have to

set the previous status to DIB_Status_GdiMod, otherwise a non-committing unlock could incorrectly revert the DIB to another state, rather than the correct DIB_Status_GdiMod.
parent 7c1ad31f
......@@ -4289,6 +4289,7 @@ INT X11DRV_DIB_Coerce(BITMAPOBJ *bmp, INT req, BOOL lossy)
case DIB_Status_GdiMod:
TRACE("GdiMod requested in status GdiMod\n" );
dib->p_status = DIB_Status_GdiMod;
break;
case DIB_Status_InSync:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment