diff --git a/clients/aurorae/src/qml/MenuButton.qml b/clients/aurorae/src/qml/MenuButton.qml index c62b7542fc..3c3f001794 100644 --- a/clients/aurorae/src/qml/MenuButton.qml +++ b/clients/aurorae/src/qml/MenuButton.qml @@ -19,7 +19,7 @@ import org.kde.qtextracomponents 2.0 as QtExtra import org.kde.kwin.decoration 0.1 DecorationButton { - property bool closeOnDoubleClick: true + property bool closeOnDoubleClick: false id: menuButton buttonType: DecorationOptions.DecorationButtonMenu QtExtra.QIconItem { @@ -75,12 +75,12 @@ DecorationButton { } } Component.onCompleted: { - menuButton.closeOnDoubleClick = decoration.readConfig("CloseOnDoubleClickMenuButton", true); + menuButton.closeOnDoubleClick = decoration.readConfig("CloseOnDoubleClickMenuButton", false); } Connections { target: decoration onConfigChanged: { - menuButton.closeOnDoubleClick = decoration.readConfig("CloseOnDoubleClickMenuButton", true); + menuButton.closeOnDoubleClick = decoration.readConfig("CloseOnDoubleClickMenuButton", false); } } } diff --git a/kcmkwin/kwindecoration/decorationmodel.cpp b/kcmkwin/kwindecoration/decorationmodel.cpp index 9e8b1365a6..3050ccbfc3 100644 --- a/kcmkwin/kwindecoration/decorationmodel.cpp +++ b/kcmkwin/kwindecoration/decorationmodel.cpp @@ -133,7 +133,7 @@ void DecorationModel::findDecorations() KConfigGroup config(m_config, data.auroraeName); data.borderSize = (KDecorationDefines::BorderSize)config.readEntry< int >("BorderSize", KDecorationDefines::BorderNormal); data.buttonSize = (KDecorationDefines::BorderSize)config.readEntry< int >("ButtonSize", KDecorationDefines::BorderNormal); - data.closeDblClick = config.readEntry< bool >("CloseOnDoubleClickMenuButton", true); + data.closeDblClick = config.readEntry< bool >("CloseOnDoubleClickMenuButton", false); data.comment = service->comment(); KPluginInfo info(service); data.author = info.author(); @@ -184,7 +184,7 @@ void DecorationModel::findAuroraeThemes() KConfigGroup config(m_config, data.auroraeName); data.borderSize = (KDecorationDefines::BorderSize)config.readEntry< int >("BorderSize", KDecorationDefines::BorderNormal); data.buttonSize = (KDecorationDefines::BorderSize)config.readEntry< int >("ButtonSize", KDecorationDefines::BorderNormal); - data.closeDblClick = config.readEntry< bool >("CloseOnDoubleClickMenuButton", true); + data.closeDblClick = config.readEntry< bool >("CloseOnDoubleClickMenuButton", false); metaData(data, df); m_decorations.append(data); }