Support lower/raise opacity for all modifier+mouse combos

REVIEW: 102377
This commit is contained in:
Martin Gräßlin 2011-08-19 22:48:38 +02:00
parent cdfd98e926
commit 73153c861c
2 changed files with 6 additions and 0 deletions

View file

@ -489,6 +489,8 @@ const char* const tbl_All[] = {
"Raise",
"Lower",
"Minimize",
"Decrease Opacity",
"Increase Opacity",
"Nothing",
""
};
@ -827,6 +829,8 @@ KWindowActionsConfig::KWindowActionsConfig(bool _standAlone, KConfig *_config, c
<< i18n("Raise")
<< i18n("Lower")
<< i18n("Minimize")
<< i18n("Decrease Opacity")
<< i18n("Increase Opacity")
<< i18n("Nothing");
combo = new KComboBox(box);

View file

@ -399,6 +399,8 @@ Options::MouseCommand Options::mouseCommand(const QString &name, bool restricted
if (lowerName == "minimize") return MouseMinimize;
if (lowerName == "start window tab drag") return MouseClientGroupDrag;
if (lowerName == "close") return MouseClose;
if (lowerName == "increase opacity") return MouseOpacityMore;
if (lowerName == "decrease opacity") return MouseOpacityLess;
if (lowerName == "nothing") return MouseNothing;
return MouseNothing;
}