]> Dogcows Code - chaz/openbox/commitdiff
fix copy/paste error
authorDana Jansens <danakj@orodu.net>
Sat, 21 Jul 2007 19:48:12 +0000 (15:48 -0400)
committerDana Jansens <danakj@orodu.net>
Sat, 21 Jul 2007 19:48:12 +0000 (15:48 -0400)
openbox/actions/moveresizeto.c

index 046a7b809f627382b3f312f2680423ffae00c5d1..75184ea370fe308acf690fd970c581cbec111f69 100644 (file)
@@ -65,9 +65,9 @@ static gpointer setup_func(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node)
         parse_coord(doc, n, &o->y, &o->yopposite, &o->ycenter);
 
     if ((n = parse_find_node("width", node)))
-        o->w = parse_int(doc, n) - 1;
+        o->w = parse_int(doc, n);
     if ((n = parse_find_node("height", node)))
-        o->h = parse_int(doc, n) - 1;
+        o->h = parse_int(doc, n);
 
     if ((n = parse_find_node("monitor", node)))
         o->monitor = parse_int(doc, n) - 1;
This page took 0.028025 seconds and 4 git commands to generate.