Hardcode TabBox setting in boxswitch effect false
Boxswitch is activated as tabbox, possibly due to a downstream issue This results in multiple effects being assigned to the tabbox and no GUI way for the user to fix this. Since the BoxSwitch effects nowadays only exists as sidearm for coverswitch, the tabbox setting is now hardcoded and disabled in the effect, making it completely impossible to accidentally use it as tabbox. BUG: 303387 REVIEW: 106695 FIXED-IN: 4.9.3
This commit is contained in:
parent
8176c91b2f
commit
58ed2e9a75
1 changed files with 4 additions and 3 deletions
|
@ -42,7 +42,7 @@ BoxSwitchEffect::BoxSwitchEffect()
|
|||
, painting_desktop(0)
|
||||
, animation(false)
|
||||
, highlight_is_set(false)
|
||||
, primaryTabBox(true)
|
||||
, primaryTabBox(false)
|
||||
, secondaryTabBox(false)
|
||||
, mProxy(this)
|
||||
, mProxyActivated(0)
|
||||
|
@ -86,8 +86,9 @@ void BoxSwitchEffect::reconfigure(ReconfigureFlags)
|
|||
elevate_window = conf.readEntry("ElevateSelected", true);
|
||||
mAnimateSwitch = conf.readEntry("AnimateSwitch", false);
|
||||
|
||||
primaryTabBox = conf.readEntry("TabBox", false);
|
||||
secondaryTabBox = conf.readEntry("TabBoxAlternative", false);
|
||||
// the tabbox merely exists as CoverSwitch sidearm, force it to be not the tabbox
|
||||
primaryTabBox = false;
|
||||
secondaryTabBox = false;
|
||||
}
|
||||
|
||||
void BoxSwitchEffect::prePaintWindow(EffectWindow* w, WindowPrePaintData& data, int time)
|
||||
|
|
Loading…
Reference in a new issue