Skip to content

kwinrules: Use a list of virtual desktop UUIDs to set and store the rules setting

Ismael Asensio requested to merge work/iasensio/rules_desktopids into master

Port the RuleSettings and KCM to store and use a list of virtual desktop UUIDs, instead of the previous x11 positional id, continuing the work on !1246 (merged)

This allows to set a rule with several desktops on Wayland. On X11 it has no visible change for the user, but internally it uses the modern concept, helping to simplify the relate code.

The relevant key on kwinrulesrc changes from desktop to desktops. A kconf_update handles the migration.

Edited by Ismael Asensio

Merge request reports