If the decoration doesn't announce which titlebar buttons it supports,

make the default only those buttons that were available before the time
the possibility to announce the support came, not all buttons.

svn path=/trunk/kdebase/kwin/; revision=408565
This commit is contained in:
Luboš Luňák 2005-04-29 09:44:40 +00:00
parent 64ab03402b
commit bb1c008e1b

View file

@ -750,8 +750,8 @@ void ButtonPositionWidget::setDecorationFactory(KDecorationFactory *factory)
m_supportedButtons = supportedButtons; m_supportedButtons = supportedButtons;
} else { } else {
// enable all buttons! // enable only buttons available before AbilityButton* introduction
m_supportedButtons = "RLBFXAIHSM_"; m_supportedButtons = "MSHIAX_";
} }
// update the button lists... // update the button lists...