X-Git-Url: http://git.openbox.org/?p=mikachu%2Fopenbox.git;a=blobdiff_plain;f=openbox%2Factions%2Fdesktop.c;h=142fec513108f6a64abb3a6360ee39300436af4e;hp=d939ed511ad5dd938fe92bd9d7da645444173b7c;hb=610e80e05286fd8fa189ad19aecd68dc978a48b8;hpb=e8ce4dbb8fa8f415759745d57bb1c971ea360ec5 diff --git a/openbox/actions/desktop.c b/openbox/actions/desktop.c index d939ed5..142fec5 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); }