From 4b095c1ca2053e3a8906ea82048ffb767717ac40 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Sun, 15 Jul 2007 01:41:30 +0200 Subject: [PATCH] previous should not mean the same as last --- openbox/actions/desktop.c | 3 +-- 1 file changed, 1 insertion(+), 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; -- 2.45.2