D29791: [kcm/kwinrules] Detect also window complete class

Méven Car noreply at phabricator.kde.org
Wed May 27 06:33:07 BST 2020


meven added inline comments.

INLINE COMMENTS

> rulesmodel.cpp:141
> +        if (rule->key() == "wmclasshelper") {
> +            setData(this->index(1), value, RulesModel::ValueRole);  // wmclass := value
> +            setData(this->index(2), true, RulesModel::ValueRole);   // wmclasscomplete := true

Make those index values constants or at least less hard coded.

REPOSITORY
  R108 KWin

BRANCH
  wmclasscomplete

REVISION DETAIL
  https://phabricator.kde.org/D29791

To: iasensio, ngraham, #kwin, #plasma
Cc: meven, anthonyfieroni, zzag, kwin, Orage, cacarry, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20200527/a36ac5b1/attachment.htm>


More information about the kwin mailing list