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

Vlad Zahorodnii <vlad.zahorod...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/kwin/-/commit/e8dad997fa |ma/kwin/-/commit/becb3abe9a
                   |e98e3c0c40653667dd22a002747 |1c85a9ec533f202ae3c2b2d06ed
                   |556                         |2d1

--- Comment #4 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
Git commit becb3abe9a1c85a9ec533f202ae3c2b2d06ed2d1 by Vlad Zahorodnii.
Committed on 23/06/2025 at 17:42.
Pushed by vladz into branch 'Plasma/6.4'.

Fix Window::mousePressCommandConsumesEvent() for "activate" action

Amends 87bb2447e5328a5e6f4d066fcfea5ff38a02139d.

According to the boolean algebra rules, if the `a || b` expression is
negated, the result will be `!a && !b`.

In the prior version, the MouseActivate option used to correspond to
`isActive() || !rules()->checkAcceptFocus(acceptsFocus())` so following
the boolean algebra rules, the `||` operator should be changed to `&&`.


(cherry picked from commit e8dad997fae98e3c0c40653667dd22a002747556)

Co-authored-by: Vlad Zahorodnii <vlad.zahorod...@kde.org>

M  +1    -1    src/window.cpp

https://invent.kde.org/plasma/kwin/-/commit/becb3abe9a1c85a9ec533f202ae3c2b2d06ed2d1

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

Reply via email to