summaryrefslogtreecommitdiff
path: root/sent.c
diff options
context:
space:
mode:
Diffstat (limited to 'sent.c')
-rw-r--r--sent.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sent.c b/sent.c
index fb0b56e..50dee4c 100644
--- a/sent.c
+++ b/sent.c
@@ -506,8 +506,7 @@ void xinit()
die("Can't open display.");
xw.scr = XDefaultScreen(xw.dpy);
xw.vis = XDefaultVisual(xw.dpy, xw.scr);
- xw.w = DisplayWidth(xw.dpy, xw.scr);
- xw.h = DisplayHeight(xw.dpy, xw.scr);
+ resize(DisplayWidth(xw.dpy, xw.scr), DisplayHeight(xw.dpy, xw.scr));
xw.attrs.background_pixel = WhitePixel(xw.dpy, xw.scr);
xw.attrs.bit_gravity = CenterGravity;