layout: Fix client size
This commit is contained in:
parent
58460f6b58
commit
ffd0e541f4
@ -131,7 +131,7 @@ maxlayout(void)
|
|||||||
|
|
||||||
geo.x = sgeo.x; geo.y = sgeo.y;
|
geo.x = sgeo.x; geo.y = sgeo.y;
|
||||||
geo.width = sgeo.width - (conf.borderheight * 2);
|
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);
|
client_moveresize(c, geo, False);
|
||||||
}
|
}
|
||||||
@ -255,7 +255,7 @@ tile(void)
|
|||||||
cgeo.height = tileheight - border;
|
cgeo.height = tileheight - border;
|
||||||
}
|
}
|
||||||
|
|
||||||
cgeo.height -= conf.ttbarheight;
|
//cgeo.height -= conf.ttbarheight;
|
||||||
|
|
||||||
client_moveresize(c, cgeo, tags[seltag].resizehint);
|
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.x = sgeo.x; geo.y = sgeo.y;
|
||||||
geo.width = sgeo.width - (conf.borderheight * 2);
|
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);
|
client_moveresize(sel, geo, False);
|
||||||
raiseclient(sel);
|
raiseclient(sel);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user