Fixing the calculation of the base tty pixel size.
This commit is contained in:
parent
cf04354e06
commit
b26df1d0d3
4
st.c
4
st.c
@ -2182,8 +2182,8 @@ tresize(int col, int row) {
|
|||||||
|
|
||||||
void
|
void
|
||||||
xresize(int col, int row) {
|
xresize(int col, int row) {
|
||||||
xw.tw = MAX(1, 2*borderpx + col * xw.cw);
|
xw.tw = MAX(1, col * xw.cw);
|
||||||
xw.th = MAX(1, 2*borderpx + row * xw.ch);
|
xw.th = MAX(1, row * xw.ch);
|
||||||
|
|
||||||
XftDrawChange(xw.draw, xw.buf);
|
XftDrawChange(xw.draw, xw.buf);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user