Remove opacity from Rules::update

We failed to implement the TODO for all of KDE4, so maybe it's a sign
that we can remove it. Also fixes two warnings:

comparison between 'enum KWin::Rules::ForceRule' and
'enum KWin::Rules::SetRule' [-Wenum-compare]

REVIEW: 117848
icc-effect-5.14.5
Martin Gräßlin 2014-04-28 17:16:34 +02:00
parent d2bbb42feb
commit 69e1a0fabd
1 changed files with 0 additions and 6 deletions

View File

@ -545,12 +545,6 @@ bool Rules::update(Client* c, int selection)
updated = updated || noborder != c->noBorder();
noborder = c->noBorder();
}
if NOW_REMEMBER(OpacityActive, opacityactive) {
// TODO
}
if NOW_REMEMBER(OpacityInactive, opacityinactive) {
// TODO
}
return updated;
}