summaryrefslogtreecommitdiff
path: root/src/actions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions.cpp')
-rw-r--r--src/actions.cpp65
1 files changed, 0 insertions, 65 deletions
diff --git a/src/actions.cpp b/src/actions.cpp
index 18f41b2..8fbf6a7 100644
--- a/src/actions.cpp
+++ b/src/actions.cpp
@@ -51,38 +51,6 @@ CompScreen::closeWin (CompAction *action,
}
bool
-CompScreen::mainMenu (CompAction *action,
- CompAction::State state,
- CompOption::Vector &options)
-{
- unsigned int time;
-
- time = CompOption::getIntOptionNamed (options, "time", CurrentTime);
-
- if (screen->priv->grabs.empty ())
- screen->toolkitAction (Atoms::toolkitActionMainMenu, time,
- screen->priv->root, 0, 0, 0);
-
- return true;
-}
-
-bool
-CompScreen::runDialog (CompAction *action,
- CompAction::State state,
- CompOption::Vector &options)
-{
- unsigned int time;
-
- time = CompOption::getIntOptionNamed (options, "time", CurrentTime);
-
- if (screen->priv->grabs.empty ())
- screen->toolkitAction (Atoms::toolkitActionRunDialog, time,
- screen->priv->root , 0, 0, 0);
-
- return true;
-}
-
-bool
CompScreen::unmaximizeWin (CompAction *action,
CompAction::State state,
CompOption::Vector &options)
@@ -241,39 +209,6 @@ CompScreen::runCommandDispatch (CompAction *action,
}
bool
-CompScreen::runCommandScreenshot (CompAction *action,
- CompAction::State state,
- CompOption::Vector &options)
-{
- screen->runCommand (
- screen->priv->opt[COMP_OPTION_SCREENSHOT].value ().s ());
-
- return true;
-}
-
-bool
-CompScreen::runCommandWindowScreenshot (CompAction *action,
- CompAction::State state,
- CompOption::Vector &options)
-{
- screen->runCommand (
- screen->priv->opt[COMP_OPTION_WINDOW_SCREENSHOT].value ().s ());
-
- return true;
-}
-
-bool
-CompScreen::runCommandTerminal (CompAction *action,
- CompAction::State state,
- CompOption::Vector &options)
-{
- screen->runCommand (
- screen->priv->opt[COMP_OPTION_TERMINAL].value ().s ());
-
- return true;
-}
-
-bool
CompScreen::windowMenu (CompAction *action,
CompAction::State state,
CompOption::Vector &options)