summaryrefslogtreecommitdiff
path: root/openbox/action.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-06-22 19:15:07 +0000
committerDana Jansens <danakj@orodu.net>2007-06-22 19:15:07 +0000
commit4044b942e74b59599e82bb4834a730c32e49820d (patch)
tree52f85dbcdc146225ff81cc46bf00bee46d3dbb09 /openbox/action.c
parent6973d5b8a50844ef8eecf076f8f15d5ece4270ef (diff)
let you use "last" in desktop action
Diffstat (limited to 'openbox/action.c')
-rw-r--r--openbox/action.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/openbox/action.c b/openbox/action.c
index be54a006..37370e80 100644
--- a/openbox/action.c
+++ b/openbox/action.c
@@ -773,27 +773,6 @@ void action_send_to_desktop(union ActionData *data)
}
}
-void action_desktop_dir(union ActionData *data)
-{
- guint d;
-
- d = screen_cycle_desktop(data->desktopdir.dir,
- data->desktopdir.wrap,
- data->desktopdir.linear,
- data->desktopdir.inter.any.interactive,
- data->desktopdir.inter.final,
- data->desktopdir.inter.cancel);
- /* only move the desktop when the action is complete. if we switch
- desktops during the interactive action, focus will move but with
- NotifyWhileGrabbed and applications don't like that. */
- if (!data->sendtodir.inter.any.interactive ||
- (data->sendtodir.inter.final && !data->sendtodir.inter.cancel))
- {
- if (d != screen_desktop)
- screen_set_desktop(d, TRUE);
- }
-}
-
void action_send_to_desktop_dir(union ActionData *data)
{
ObClient *c = data->sendtodir.inter.any.c;