layout: Fix client size

This commit is contained in:
Martin Duquesnoy 2008-10-19 14:26:17 +02:00
parent 58460f6b58
commit ffd0e541f4

View File

@ -131,7 +131,7 @@ maxlayout(void)
geo.x = sgeo.x; geo.y = sgeo.y;
geo.width = sgeo.width - (conf.borderheight * 2);
geo.height = sgeo.height - (conf.borderheight * 2) - conf.ttbarheight;
geo.height = sgeo.height - (conf.borderheight * 2);
client_moveresize(c, geo, False);
}
@ -255,7 +255,7 @@ tile(void)
cgeo.height = tileheight - border;
}
cgeo.height -= conf.ttbarheight;
//cgeo.height -= conf.ttbarheight;
client_moveresize(c, cgeo, tags[seltag].resizehint);
@ -298,7 +298,7 @@ uicb_togglemax(uicb_t cmd)
geo.x = sgeo.x; geo.y = sgeo.y;
geo.width = sgeo.width - (conf.borderheight * 2);
geo.height = sgeo.height - (conf.borderheight * 2) - conf.ttbarheight;
geo.height = sgeo.height - (conf.borderheight * 2);
client_moveresize(sel, geo, False);
raiseclient(sel);