summaryrefslogtreecommitdiff
diff options
-rw-r--r--shortcuts/CompizShortcutModeller.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/shortcuts/CompizShortcutModeller.cpp b/shortcuts/CompizShortcutModeller.cpp
index bc1f64fc9..2ee1e14c7 100644
--- a/shortcuts/CompizShortcutModeller.cpp
+++ b/shortcuts/CompizShortcutModeller.cpp
@@ -68,6 +68,7 @@ namespace
const std::string UNITYSHELL_OPTION_LAUNCHER_SWITCHER_FORWARD = "launcher_switcher_forward";
const std::string UNITYSHELL_OPTION_SHOW_HUD = "show_hud";
const std::string UNITYSHELL_OPTION_PANEL_FIRST_MENU = "panel_first_menu";
+ const std::string UNITYSHELL_OPTION_SPREAD_APP_WINDOWS = "spread_app_windows";
const std::string UNITYSHELL_OPTION_ALT_TAB_FORWARD = "alt_tab_forward";
const std::string UNITYSHELL_OPTION_ALT_TAB_FORWARD_ALL = "alt_tab_forward_all";
const std::string UNITYSHELL_OPTION_ALT_TAB_NEXT_WINDOW = "alt_tab_next_window";
@@ -316,6 +317,14 @@ void CompizModeller::AddWindowsHints(std::list<shortcut::AbstractHint::Ptr> &hin
}
hints.push_back(std::make_shared<shortcut::Hint>(windows, "", "",
+ (ws_enabled ?
+ _("Spreads all windows of the focused application in the current workspace.") :
+ _("Spreads all windows of the focused application.")),
+ shortcut::OptionType::COMPIZ_KEY,
+ UNITYSHELL_PLUGIN_NAME,
+ UNITYSHELL_OPTION_SPREAD_APP_WINDOWS));
+
+ hints.push_back(std::make_shared<shortcut::Hint>(windows, "", "",
_("Minimises all windows."),
shortcut::OptionType::COMPIZ_KEY,
CORE_PLUGIN_NAME,