[plasma/kwin] 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 5b008a04406ee6196c48ebd836d31973e70b53cd by Vlad Zahorodnii, on behalf of Li Kai.
Committed on 03/08/2026 at 10:05.
Pushed by vladz into branch 'master'.

effects/windowview: fix current desktop class border activation

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

https://invent.kde.org/plasma/kwin/-/commit/5b008a04406ee6196c48ebd836d31973e70b53cd

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.