aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorQuentin Rameau <quinq@quinq.eu.org>2015-05-31 12:26:11 +0200
committerRoberto E. Vargas Caballero <k0ga@shike2.com>2015-06-19 11:49:13 +0200
commitbdd649a10289ade364f3deab3bbf6ee3169d67ca (patch)
tree36b8019d0d2dc154d0fe646c7894ea32675c744e /config.def.h
parent71fa10f613a22b3e75e0e897ee1be6667be3f449 (diff)
downloadst-bdd649a10289ade364f3deab3bbf6ee3169d67ca.tar.gz
st-bdd649a10289ade364f3deab3bbf6ee3169d67ca.tar.bz2
do not truncate font size when zooming
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/config.def.h b/config.def.h
index bb5596e..64e75b8 100644
--- a/config.def.h
+++ b/config.def.h
@@ -120,9 +120,9 @@ static Shortcut shortcuts[] = {
{ ControlMask, XK_Print, toggleprinter, {.i = 0} },
{ ShiftMask, XK_Print, printscreen, {.i = 0} },
{ XK_ANY_MOD, XK_Print, printsel, {.i = 0} },
- { MODKEY|ShiftMask, XK_Prior, xzoom, {.i = +1} },
- { MODKEY|ShiftMask, XK_Next, xzoom, {.i = -1} },
- { MODKEY|ShiftMask, XK_Home, xzoomreset, {.i = 0} },
+ { MODKEY|ShiftMask, XK_Prior, xzoom, {.f = +1} },
+ { MODKEY|ShiftMask, XK_Next, xzoom, {.f = -1} },
+ { MODKEY|ShiftMask, XK_Home, xzoomreset, {.f = 0} },
{ ShiftMask, XK_Insert, selpaste, {.i = 0} },
{ MODKEY|ShiftMask, XK_Insert, clippaste, {.i = 0} },
{ MODKEY|ShiftMask, XK_C, clipcopy, {.i = 0} },