summaryrefslogtreecommitdiff
path: root/openbox/actions/desktop.c
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2007-07-15 01:41:30 +0200
committerMikael Magnusson <mikachu@comhem.se>2007-07-15 01:41:30 +0200
commit4b095c1ca2053e3a8906ea82048ffb767717ac40 (patch)
tree78fd65946cfd6f2f3cab700d571dd51d9beabb1b /openbox/actions/desktop.c
parent9d593db034fc2f5f662f7a1502d6a64536ced014 (diff)
previous should not mean the same as last
Diffstat (limited to 'openbox/actions/desktop.c')
-rw-r--r--openbox/actions/desktop.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/openbox/actions/desktop.c b/openbox/actions/desktop.c
index 0e9ad739..0620c453 100644
--- a/openbox/actions/desktop.c
+++ b/openbox/actions/desktop.c
@@ -55,8 +55,7 @@ static gpointer setup_go_func(ObParseInst *i, xmlDocPtr doc,
if ((n = parse_find_node("to", node))) {
gchar *s = parse_string(doc, n);
- if (!g_ascii_strcasecmp(s, "last") ||
- !g_ascii_strcasecmp(s, "previous"))
+ if (!g_ascii_strcasecmp(s, "last"))
o->type = LAST;
else if (!g_ascii_strcasecmp(s, "next")) {
o->type = RELATIVE;