Exclude minimized and windows not on current desktop from fade desktop
BUG: 299429 FIXED-IN: 4.9.0
This commit is contained in:
parent
151b8835f5
commit
b3a813ffa7
1 changed files with 6 additions and 0 deletions
|
@ -33,6 +33,12 @@ effects['desktopChanged(int,int)'].connect(function(oldDesktop, newDesktop) {
|
|||
if (w.desktop != oldDesktop && w.desktop != newDesktop) {
|
||||
continue;
|
||||
}
|
||||
if (w.minimized) {
|
||||
continue;
|
||||
}
|
||||
if (!w.isOnActivity(currentActivity)){
|
||||
continue;
|
||||
}
|
||||
if (w.desktop == oldDesktop) {
|
||||
effect.animate(w, Effect.Opacity, duration, 0.0);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue