X-Git-Url: https://git.xinqibao.xyz/st.git/blobdiff_plain/b1d383a0a344e35dad1064e129f70d52bddfd7b2..e09709d92d89c8593f7390f12dc22fdc563eb57f:/st.c?ds=sidebyside diff --git a/st.c b/st.c index 63c3f85..a2564f8 100644 --- a/st.c +++ b/st.c @@ -843,7 +843,6 @@ ttyresize(int x, int y) { w.ws_col = term.col; w.ws_xpixel = xw.w; w.ws_ypixel = xw.h; - w.ws_xpixel = w.ws_ypixel = 0; if(ioctl(cmdfd, TIOCSWINSZ, &w) < 0) fprintf(stderr, "Couldn't set window size: %s\n", SERRNO); }