Update deco buttons when allowed actions change

BUG: 246442
icc-effect-5.14.5
Thomas Lübking 2011-02-06 16:42:45 +01:00
parent 51ee04837f
commit eba4392272
1 changed files with 2 additions and 1 deletions

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()