Bring across a glx context fix from xgl.

This commit is contained in:
Alan Hourihane 2007-03-28 15:38:54 +01:00
parent 615cdbe20b
commit a1bac4019f

View file

@ -234,12 +234,15 @@ static Bool PositionWindow(WindowPtr pWin, int x, int y)
}
/* mark contexts as needing resize */
__glXFlushContextCache ();
for (glxc = glxPriv->drawGlxc; glxc; glxc = glxc->nextDrawPriv) {
(*glxc->loseCurrent)(glxc);
glxc->pendingState |= __GLX_PENDING_RESIZE;
}
for (glxc = glxPriv->readGlxc; glxc; glxc = glxc->nextReadPriv) {
(*glxc->loseCurrent)(glxc);
glxc->pendingState |= __GLX_PENDING_RESIZE;
}