Ungrab X before doing the double-buffering swap, as that one
may involve waiting to sync to vblank. svn path=/branches/work/kwin_composite/; revision=607501
This commit is contained in:
parent
049460fa2e
commit
277449f545
1 changed files with 1 additions and 1 deletions
|
@ -448,8 +448,8 @@ void SceneOpenGL::paint( QRegion damage, ToplevelList toplevels )
|
|||
int mask = 0;
|
||||
paintScreen( &mask, &damage ); // call generic implementation
|
||||
glPopMatrix();
|
||||
ungrabXServer(); // ungrab before flushBuffer(), it may wait for vsync
|
||||
flushBuffer( mask, damage );
|
||||
ungrabXServer();
|
||||
// do cleanup
|
||||
stacking_order.clear();
|
||||
checkGLError( "PostPaint" );
|
||||
|
|
Loading…
Reference in a new issue