aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTroy Sankey <sankeytms@gmail.com>2014-06-18 10:41:26 -0700
committerRoberto E. Vargas Caballero <k0ga@shike2.com>2014-06-21 10:03:41 +0200
commit58eaa998b37bc44acbf4356a3bc4116acf570893 (patch)
tree259dc46d7e5e72a5e653fd98b2d3733db61c6baf
parentc2fd2754ebea6f802e4c71219af269c58b78262e (diff)
downloadst-58eaa998b37bc44acbf4356a3bc4116acf570893.tar.gz
st-58eaa998b37bc44acbf4356a3bc4116acf570893.tar.bz2
update size hints on zoom
On font zooming (i.e. xzoom()), window size hints are not updated. This patch does that. Signed-off-by: Roberto E. Vargas Caballero <k0ga@shike2.com>
-rw-r--r--st.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/st.c b/st.c
index 2cf9a26..26053b0 100644
--- a/st.c
+++ b/st.c
@@ -2993,6 +2993,7 @@ xzoom(const Arg *arg) {
xloadfonts(usedfont, usedfontsize + arg->i);
cresize(0, 0);
redraw(0);
+ xhints();
}
void