Support lower/raise opacity for all modifier+mouse combos
REVIEW: 102377
This commit is contained in:
parent
cdfd98e926
commit
73153c861c
2 changed files with 6 additions and 0 deletions
|
@ -489,6 +489,8 @@ const char* const tbl_All[] = {
|
||||||
"Raise",
|
"Raise",
|
||||||
"Lower",
|
"Lower",
|
||||||
"Minimize",
|
"Minimize",
|
||||||
|
"Decrease Opacity",
|
||||||
|
"Increase Opacity",
|
||||||
"Nothing",
|
"Nothing",
|
||||||
""
|
""
|
||||||
};
|
};
|
||||||
|
@ -827,6 +829,8 @@ KWindowActionsConfig::KWindowActionsConfig(bool _standAlone, KConfig *_config, c
|
||||||
<< i18n("Raise")
|
<< i18n("Raise")
|
||||||
<< i18n("Lower")
|
<< i18n("Lower")
|
||||||
<< i18n("Minimize")
|
<< i18n("Minimize")
|
||||||
|
<< i18n("Decrease Opacity")
|
||||||
|
<< i18n("Increase Opacity")
|
||||||
<< i18n("Nothing");
|
<< i18n("Nothing");
|
||||||
|
|
||||||
combo = new KComboBox(box);
|
combo = new KComboBox(box);
|
||||||
|
|
|
@ -399,6 +399,8 @@ Options::MouseCommand Options::mouseCommand(const QString &name, bool restricted
|
||||||
if (lowerName == "minimize") return MouseMinimize;
|
if (lowerName == "minimize") return MouseMinimize;
|
||||||
if (lowerName == "start window tab drag") return MouseClientGroupDrag;
|
if (lowerName == "start window tab drag") return MouseClientGroupDrag;
|
||||||
if (lowerName == "close") return MouseClose;
|
if (lowerName == "close") return MouseClose;
|
||||||
|
if (lowerName == "increase opacity") return MouseOpacityMore;
|
||||||
|
if (lowerName == "decrease opacity") return MouseOpacityLess;
|
||||||
if (lowerName == "nothing") return MouseNothing;
|
if (lowerName == "nothing") return MouseNothing;
|
||||||
return MouseNothing;
|
return MouseNothing;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue