aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-02-11 18:39:23 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-02-11 18:39:23 +0000
commit335bf2e5b4cda58e56860d3cc3ad23e215c80a78 (patch)
tree93cffbfa13cb7b78a3051c3975b4fc32d387ad1f /input.c
parentterm: log error when failing to initialize the primary fonts (diff)
parentselection: handle line break at last column correctly (diff)
Merge branch 'text-reflow'
Diffstat (limited to 'input.c')
-rw-r--r--input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/input.c b/input.c
index 21fc6f37..77355918 100644
--- a/input.c
+++ b/input.c
@@ -386,7 +386,7 @@ keyboard_key(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial,
}
else if (effective_mods == ctrl) {
- if (sym == XKB_KEY_plus || sym == XKB_KEY_KP_Add) {
+ if (sym == XKB_KEY_equal || sym == XKB_KEY_plus || sym == XKB_KEY_KP_Add) {
term_font_size_increase(term);
goto maybe_repeat;
}
@@ -396,7 +396,7 @@ keyboard_key(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial,
goto maybe_repeat;
}
- else if (sym == XKB_KEY_0 || sym == XKB_KEY_equal || sym == XKB_KEY_KP_Equal || sym == XKB_KEY_KP_0) {
+ else if (sym == XKB_KEY_0 || sym == XKB_KEY_KP_Equal || sym == XKB_KEY_KP_0) {
term_font_size_reset(term);
goto maybe_repeat;
}