kwin/kcmkwin/kwinrules
Ismael Asensio 3bfc750a79 [kcm/kwinrules] Fix detection of wmclass property
Property `wmclass` of a window rule works in a special way, as it can have
two meanings depending on `wmclasscomplete` flag:
- false: only matches `resourceClass`
- true: matches `resourceName` and `resourceClass`

This MR fixes two subtle bugs when detecting the properties of a window:

In the first case, `resourceName` was being wrongly set instead, which
prevented window matching for windows where those two values differ.

Also, the `wmclass` field was always set to `resourceName` independently
of `wmclasscomplete` property.

BUG: 423138
FIXED-IN: 5.19.3
2020-06-24 18:13:42 +00:00
..
package SVN_SILENT made messages (.desktop file) - always resolve ours 2020-06-18 08:32:20 +02: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] Detect virtual desktops in Wayland 2020-05-19 00:49:15 +02:00
ruleitem.h [kcm/kwinrules] Fix size properties not being stored 2020-05-15 19:45:11 +02: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 detection of wmclass property 2020-06-24 18:13:42 +00:00
rulesmodel.h [kcm/kwinrules] Detect virtual desktops in Wayland 2020-05-19 00:49:15 +02:00