Update deco buttons when allowed actions change

BUG: 246442
This commit is contained in:
Thomas Lübking 2011-02-06 16:42:45 +01:00
parent 51ee04837f
commit eba4392272

View file

@ -2148,7 +2148,8 @@ void Client::updateAllowedActions(bool force)
return;
// TODO: This could be delayed and compressed - It's only for pagers etc. anyway
info->setAllowedActions(allowed_actions);
// TODO: This should also tell the decoration, so that it can update the buttons
if (decoration)
decoration->reset(KDecoration::SettingButtons);
}
void Client::autoRaise()