OSDN Git Service

kdeplasma-addons: disable windows highlight option of icontasks applet by default
authorIvailo Monev <xakepa10@gmail.com>
Sat, 24 Dec 2022 14:05:38 +0000 (16:05 +0200)
committerIvailo Monev <xakepa10@gmail.com>
Sat, 24 Dec 2022 14:05:38 +0000 (16:05 +0200)
that option is so bogus for any window that is maximized - as soon as the
window is highlighted it will cover the entire screen but there is option
to show preview too meaning both preview and the window may be shown. which
one should be on top tho?

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
kdeplasma-addons/applets/icontasks/tasks.cpp

index 8f1cf07..281dc89 100644 (file)
@@ -112,7 +112,7 @@ static const int constMaxIconScale = 100;
 Tasks::Tasks(QObject* parent, const QVariantList &arguments)
     : Plasma::Applet(parent, arguments),
       m_toolTips(TT_Instant),
-      m_highlightWindows(true),
+      m_highlightWindows(false),
       m_launcherIcons(false),
       m_groupClick(GC_PresentWindows),
       m_rotate(false),
@@ -320,7 +320,7 @@ void Tasks::configChanged()
         changed = true;
     }
 
-    const bool highlightWindows = cg.readEntry("highlightWindows", true);
+    const bool highlightWindows = cg.readEntry("highlightWindows", false);
     if (highlightWindows != m_highlightWindows) {
         m_highlightWindows = highlightWindows;
         changed = true;