]> Dogcows Code - chaz/openbox/blobdiff - openbox/actions/moveresizeto.c
Merge branch 'master' of git://orodu.net/openbox
[chaz/openbox] / openbox / actions / moveresizeto.c
index 0f339e86166fc4034092b855423e94e8bb138b82..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;
@@ -130,7 +130,7 @@ static gboolean run_func(ObActionsData *data, gpointer options)
 
         /* get the client's size back */
         w -= c->frame->size.left + c->frame->size.right;
-        h -= c->frame->size.top + c->frame->size.bottom;        
+        h -= c->frame->size.top + c->frame->size.bottom;
 
         frame_frame_gravity(c->frame, &x, &y); /* get the client coords */
         client_try_configure(c, &x, &y, &w, &h, &lw, &lh, TRUE);
This page took 0.02132 seconds and 4 git commands to generate.