Commit 705ab309 authored by David Redondo's avatar David Redondo 🏎
Browse files

Also delete entry with Notify flag

Otherwise KWin will not know of the changes.
This does not fix
CCBUG:460345
because of the second issue that prevents the event capturing but once that is solved, removing and adding a binding for the same button would not work.

(cherry picked from commit 979de040)
parent e36bfb1f
Pipeline #249376 passed with stage
in 6 minutes and 53 seconds
......@@ -99,7 +99,7 @@ bool KWinWaylandBackend::applyConfig()
if (auto keys = it.value().value<QKeySequence>(); !keys.isEmpty()) {
buttonGroup.writeEntry(it.key(), QStringList{"Key", keys.toString(QKeySequence::PortableText)}, KConfig::Notify);
} else {
buttonGroup.deleteEntry(it.key());
buttonGroup.deleteEntry(it.key(), KConfig::Notify);
}
}
......
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