use window role to detect dashboard
BUG: 302523 FIXED-IN: 4.9 REVIEW: 105382
This commit is contained in:
parent
bcbd7181f1
commit
9c1b7f823c
1 changed files with 1 additions and 5 deletions
|
@ -144,11 +144,7 @@ void DashboardEffect::postPaintScreen()
|
|||
|
||||
bool DashboardEffect::isDashboard(EffectWindow *w)
|
||||
{
|
||||
if (w->windowClass() == "dashboard dashboard") {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
return w->windowRole() == "plasma-dashboard";
|
||||
}
|
||||
|
||||
void DashboardEffect::slotWindowActivated(EffectWindow *w)
|
||||
|
|
Loading…
Reference in a new issue