Commit 6a25ea49 authored by Martin Flöser's avatar Martin Flöser
Browse files

Deactivate scene idle during active fullscreen effect. So mouse events aren't...

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
parent be5c6ce3
......@@ -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
......
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