Deactivate scene idle during active fullscreen effect. So mouse events aren't dropped and mouse is usable in fullscreen effects, again. Of course this is not the best solution.
BUG: 177226 svn path=/trunk/KDE/kdebase/workspace/; revision=906064
This commit is contained in:
parent
be5c6ce3c2
commit
6a25ea49ee
1 changed files with 3 additions and 1 deletions
|
@ -337,8 +337,10 @@ void Workspace::performCompositing()
|
|||
if( !scene->waitSyncAvailable())
|
||||
nextPaintReference = QTime::currentTime();
|
||||
checkCursorPos();
|
||||
if(( repaints_region.isEmpty() && !windowRepaintsPending()) // no damage
|
||||
if((( repaints_region.isEmpty() && !windowRepaintsPending()) // no damage
|
||||
|| !overlay_visible ) // nothing is visible anyway
|
||||
// HACK: don't idle during active full screen effect so that mouse events are not dropped (bug #177226)
|
||||
&& !static_cast< EffectsHandlerImpl* >( effects )->activeFullScreenEffect() )
|
||||
{
|
||||
scene->idle();
|
||||
// Note: It would seem here we should undo suspended unredirect, but when scenes need
|
||||
|
|
Loading…
Reference in a new issue