aboutsummaryrefslogtreecommitdiff
path: root/x.c
diff options
context:
space:
mode:
Diffstat (limited to 'x.c')
-rw-r--r--x.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/x.c b/x.c
index 01ef1b0..1b656ac 100644
--- a/x.c
+++ b/x.c
@@ -192,7 +192,7 @@ zoomabs(const Arg *arg)
192 xunloadfonts(); 192 xunloadfonts();
193 xloadfonts(usedfont, arg->f); 193 xloadfonts(usedfont, arg->f);
194 cresize(0, 0); 194 cresize(0, 0);
195 ttyresize(); 195 ttyresize(win.tw, win.th);
196 redraw(); 196 redraw();
197 xhints(); 197 xhints();
198} 198}
@@ -1679,7 +1679,7 @@ resize(XEvent *e)
1679 return; 1679 return;
1680 1680
1681 cresize(e->xconfigure.width, e->xconfigure.height); 1681 cresize(e->xconfigure.width, e->xconfigure.height);
1682 ttyresize(); 1682 ttyresize(win.tw, win.th);
1683} 1683}
1684 1684
1685void 1685void
@@ -1710,7 +1710,7 @@ run(void)
1710 1710
1711 cresize(w, h); 1711 cresize(w, h);
1712 ttynew(); 1712 ttynew();
1713 ttyresize(); 1713 ttyresize(win.tw, win.th);
1714 1714
1715 clock_gettime(CLOCK_MONOTONIC, &last); 1715 clock_gettime(CLOCK_MONOTONIC, &last);
1716 lastblink = last; 1716 lastblink = last;