https://bugs.kde.org/show_bug.cgi?id=423138

Ismael Asensio <isma...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/commit/3bfc750a79f9
                   |                            |67a93612385def636dced1ed133
                   |                            |7
             Status|ASSIGNED                    |RESOLVED
   Version Fixed In|                            |5.19.3
         Resolution|---                         |FIXED

--- Comment #3 from Ismael Asensio <isma...@gmail.com> ---
Git commit 3bfc750a79f967a93612385def636dced1ed1337 by Ismael Asensio.
Committed on 24/06/2020 at 18:13.
Pushed by iasensio into branch 'Plasma/5.19'.

[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.
FIXED-IN: 5.19.3

M  +7    -6    kcmkwin/kwinrules/rulesmodel.cpp

https://invent.kde.org/plasma/kwin/commit/3bfc750a79f967a93612385def636dced1ed1337

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to