[plasma/kwin/Plasma/6.7] src/plugins/windowview: effects/windowview: fix current desktop class border activation

Vlad Zahorodnii <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 989025817c5d6e8e4e0e98a54c12a109e1b9c8ca by Vlad Zahorodnii.
Committed on 03/08/2026 at 10:50.
Pushed by vladz into branch 'Plasma/6.7'.

effects/windowview: fix current desktop class border activation


(cherry picked from commit 5b008a04406ee6196c48ebd836d31973e70b53cd)

Co-authored-by: Li Kai <[email protected]>

M  +1    -1    src/plugins/windowview/windowvieweffect.cpp

https://invent.kde.org/plasma/kwin/-/commit/989025817c5d6e8e4e0e98a54c12a109e1b9c8ca

diff --git a/src/plugins/windowview/windowvieweffect.cpp b/src/plugins/windowview/windowvieweffect.cpp
index abdac05d479..b8931c2fffd 100644
--- a/src/plugins/windowview/windowvieweffect.cpp
+++ b/src/plugins/windowview/windowvieweffect.cpp
@@ -392,7 +392,7 @@ bool WindowViewEffect::borderActivated(ElectricBorder border)
         toggleMode(ModeAllDesktops);
     } else if (m_borderActivateClass.contains(border)) {
         toggleMode(ModeWindowClass);
-    } else if (m_touchBorderActivateClassCurrentDesktop.contains(border)) {
+    } else if (m_borderActivateClassCurrentDesktop.contains(border)) {
         toggleMode(ModeWindowClassCurrentDesktop);
     } else {
         return false;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.