aboutsummaryrefslogtreecommitdiff
path: root/Sgraph.c
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2014-09-18 17:16:50 +0000
committerDimitri Sokolyuk <demon@dim13.org>2014-09-18 17:16:50 +0000
commit1179eff95346a0bbf93b4f19c17e2f7eec68ce91 (patch)
tree355165b9f90b636ce008845e4ee3e7d8ee8739ab /Sgraph.c
parent38b2260c4f816186ca2bfba6ecede3096ce40b9a (diff)
prepare for resize
Diffstat (limited to 'Sgraph.c')
-rw-r--r--Sgraph.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Sgraph.c b/Sgraph.c
index 444750e..17d1b7d 100644
--- a/Sgraph.c
+++ b/Sgraph.c
@@ -203,6 +203,7 @@ Resize(Widget w)
width = winwidth / 2;
height = winheight / 4;
+ sw->sgraph.size = winwidth;
warnx("win: %dx%d", winwidth, winheight);
warnx("sub: %dx%d", width, height);
warnx("size: %d", sw->sgraph.size);