xctx.geometry.y -> xctx.geometry.x
This commit is contained in:
parent
e92e36a2d9
commit
24d9179e4d
2
x.c
2
x.c
@ -220,7 +220,7 @@ static dimension_t calculate_dimensions(GSList *layouts)
|
|||||||
|
|
||||||
if (total_width > scr.dim.w) {
|
if (total_width > scr.dim.w) {
|
||||||
/* set width to screen width */
|
/* set width to screen width */
|
||||||
dim.w = scr.dim.w - xctx.geometry.y * 2;
|
dim.w = scr.dim.w - xctx.geometry.x * 2;
|
||||||
} else if (total_width < xctx.geometry.w && settings.shrink) {
|
} else if (total_width < xctx.geometry.w && settings.shrink) {
|
||||||
/* set width to text width */
|
/* set width to text width */
|
||||||
dim.w = total_width + 2 * settings.frame_width;
|
dim.w = total_width + 2 * settings.frame_width;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user