summaryrefslogtreecommitdiff
path: root/openbox/action.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-08-31 20:06:42 +0000
committerDana Jansens <danakj@orodu.net>2003-08-31 20:06:42 +0000
commit854da68d0f5bed8c85c101fd6895244d60183ff5 (patch)
tree3442c5e09253dfab99abd3f670a9ccf7234dc08c /openbox/action.c
parent030fabad14e994d575feba9894a0412e5266f0bb (diff)
add the DesktopLast action, props to marius nita for this one
Diffstat (limited to 'openbox/action.c')
-rw-r--r--openbox/action.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/openbox/action.c b/openbox/action.c
index c5c0e7ed..d24e81e6 100644
--- a/openbox/action.c
+++ b/openbox/action.c
@@ -595,6 +595,11 @@ ActionString actionstrings[] =
NULL
},
{
+ "desktoplast",
+ action_desktop_last,
+ NULL
+ },
+ {
"restart",
action_restart,
NULL
@@ -1052,6 +1057,11 @@ void action_send_to_desktop_dir(union ActionData *data)
screen_set_desktop(d);
}
+void action_desktop_last(union ActionData *data)
+{
+ screen_set_desktop(screen_last_desktop);
+}
+
void action_toggle_decorations(union ActionData *data)
{
ObClient *c = data->client.any.c;