summaryrefslogtreecommitdiff
path: root/st/x.c
diff options
context:
space:
mode:
Diffstat (limited to 'st/x.c')
-rw-r--r--st/x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st/x.c b/st/x.c
index d6067d7..45033b6 100644
--- a/st/x.c
+++ b/st/x.c
@@ -2208,7 +2208,7 @@ kpress(XEvent *ev)
if (!(
len == 0 &&
e -> state & ~ignoremod // ACMPL_ISSUE: I'm not sure that this is the right way
- | ALTCTRL == ALTCTRL
+ | ALTMOD2 == ALTMOD2
))
autocomplete ((const Arg []) { ACMPL_DEACTIVATE });