Trigger full repaint when changing virtual desktop.
svn path=/branches/work/kwin_composite/; revision=654639
This commit is contained in:
parent
970f4c4d60
commit
9d7f64013b
1 changed files with 2 additions and 0 deletions
|
@ -1328,6 +1328,8 @@ bool Workspace::setCurrentDesktop( int new_desktop )
|
||||||
|
|
||||||
if( effects != NULL && old_desktop != 0 && old_desktop != new_desktop )
|
if( effects != NULL && old_desktop != 0 && old_desktop != new_desktop )
|
||||||
static_cast<EffectsHandlerImpl*>(effects)->desktopChanged( old_desktop );
|
static_cast<EffectsHandlerImpl*>(effects)->desktopChanged( old_desktop );
|
||||||
|
if( compositing())
|
||||||
|
addRepaintFull();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue