How the desktops and activities a rule set names have moved. More...
#include <PhosphorRules/ContextRuleBridge.h>
Public Attributes | |
| std::function< int(int)> | desktop {} |
| std::function< bool(const QString &)> | activityAlive {} |
| std::function< bool(const Rule &)> | applies {} |
How the desktops and activities a rule set names have moved.
An empty function is the identity. desktop(old) answers the new 1-based number, or 0 when that desktop is gone; activityAlive(id) is false for a removed activity. applies(rule), when set, picks the rules the remap reaches: one it answers false for is HELD, kept exactly as written and never dropped, and it outranks a moved rule that lands on its id. The daemon's late start-up renumber holds every rule added or changed after start-up took its snapshot of them (F1045): such a rule was written in the live numbering.
| std::function<bool(const QString&)> PhosphorRules::ContextRuleBridge::ContextRemap::activityAlive {} |
| std::function<bool(const Rule&)> PhosphorRules::ContextRuleBridge::ContextRemap::applies {} |
| std::function<int(int)> PhosphorRules::ContextRuleBridge::ContextRemap::desktop {} |