diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-03-26 12:53:04 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-03-26 12:53:04 +0000 |
| commit | 9eeb13ec71687f43d31d66171efedb859a94285e (patch) | |
| tree | 0fcdc16c2948b035a236768c0077521fdd4af79a /openbox/action.c | |
| parent | 91ebde9e8842678e0d0704dc7945b2b84aba314f (diff) | |
create actions from string names
Diffstat (limited to 'openbox/action.c')
| -rw-r--r-- | openbox/action.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openbox/action.c b/openbox/action.c index 2265b466..4cd75107 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -98,6 +98,8 @@ Action *action_from_string(char *name) a = action_new(action_send_to_previous_desktop); a->data.sendtonextprev.wrap = TRUE; a->data.sendtonextprev.follow = TRUE; + } else if (!g_ascii_strcasecmp(name, "desktop")) { + a = action_new(action_desktop); } else if (!g_ascii_strcasecmp(name, "nextdesktop")) { a = action_new(action_next_desktop); a->data.nextprevdesktop.wrap = FALSE; |
