kwin/kcmkwin/kwinrules
Ismael Asensio 8b9472e0bf [kcm/kwinrules] Fix types property for NET::AllTypesMask
When the user selects all of the types or none of them, the "types"
property must be set to a special value (`NET::AllTypesMask = -1`),
different than the sum of all the flags together.

This re-implements this behaviour as the old KCM, fixing some heuristics
that prevented finding the rule corresponding to the current window.

The enum name that handles this property has been changed to `NetTypes`
to make it more explicit.

BUG: 423214
FIXED-IN: 5.19.3

TEST PLAN:
1. Open the `Application specific settings` on a window via menu
2. Select every "Window Type" (or none of them)
3. Give the rule a different name than the default and save
4. Open it again and check that the same rule is found
2020-06-25 15:44:11 +00:00
..
package [kcm/kwinrules] Fix types property for NET::AllTypesMask 2020-06-25 15:44:11 +00:00
CMakeLists.txt [kcm/kwinrules] Detect virtual desktops in Wayland 2020-05-19 00:49:15 +02:00
kcm_kwinrules.desktop SVN_SILENT made messages (.desktop file) - always resolve ours 2020-06-18 08:32:20 +02:00
kcmrules.cpp KWinRules KCM Redesign 2020-04-22 21:34:48 +02:00
kcmrules.h KWinRules KCM Redesign 2020-04-22 21:34:48 +02:00
kwinsrc.cpp Reduce the amount of objects that are compiled several times 2020-04-02 00:41:55 +02:00
main.cpp KWinRules KCM Redesign 2020-04-22 21:34:48 +02:00
Messages.sh [kcmkwin/kwinrules] Change translation domain 2020-05-12 10:58:30 +02:00
optionsmodel.cpp KWinRules KCM Redesign 2020-04-22 21:34:48 +02:00
optionsmodel.h KWinRules KCM Redesign 2020-04-22 21:34:48 +02:00
rulebookmodel.cpp KWinRules KCM Redesign 2020-04-22 21:34:48 +02:00
rulebookmodel.h KWinRules KCM Redesign 2020-04-22 21:34:48 +02:00
ruleitem.cpp [kcm/kwinrules] Fix types property for NET::AllTypesMask 2020-06-25 15:44:11 +00:00
ruleitem.h [kcm/kwinrules] Fix types property for NET::AllTypesMask 2020-06-25 15:44:11 +00:00
rulesdialog.cpp KWinRules KCM Redesign 2020-04-22 21:34:48 +02:00
rulesdialog.h KWinRules KCM Redesign 2020-04-22 21:34:48 +02:00
rulesmodel.cpp [kcm/kwinrules] Fix types property for NET::AllTypesMask 2020-06-25 15:44:11 +00:00
rulesmodel.h [kcm/kwinrules] Detect virtual desktops in Wayland 2020-05-19 00:49:15 +02:00