Commit 9a8e4305 authored by Thomas Lübking's avatar Thomas Lübking
Browse files

Update deco buttons when allowed actions change

BUG: 246442
parent 3181aacf
......@@ -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()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment