diff --git a/openbox/actions/desktop.c b/openbox/actions/desktop.c index d939ed51..142fec51 100644 --- a/openbox/actions/desktop.c +++ b/openbox/actions/desktop.c @@ -89,7 +89,7 @@ static gpointer setup_go_func(ObParseInst *i, xmlDocPtr doc, } else { o->type = ABSOLUTE; - o->abs.desktop = parse_int(doc, n) - 1; + o->abs.desktop = atoi(s) - 1; } g_free(s); }