summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-05-04 17:14:34 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-05-04 17:14:34 +0300
commitcc584475d976eb2575416ff469f232d2e3db20ca (patch)
treef59bd1ee57e18781db3194c4d02576db648f4cf0 /src
parent347b4c1cb3482fd43251bf4d4ab7807360bbb938 (diff)
Use Shift to open links to the side
Diffstat (limited to 'src')
-rw-r--r--src/ui/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/util.c b/src/ui/util.c
index d817bdfd..5995f6a0 100644
--- a/src/ui/util.c
+++ b/src/ui/util.c
@@ -171,7 +171,7 @@ int keyMods_Sym(int kmods) {
171 171
172int openTabMode_Sym(int kmods) { 172int openTabMode_Sym(int kmods) {
173 const int km = keyMods_Sym(kmods); 173 const int km = keyMods_Sym(kmods);
174 return (km & KMOD_ALT ? otherRoot_OpenTabFlag : 0) | /* open to the side */ 174 return (km == KMOD_SHIFT ? otherRoot_OpenTabFlag : 0) | /* open to the side */
175 (((km & KMOD_PRIMARY) && (km & KMOD_SHIFT)) ? new_OpenTabFlag : 175 (((km & KMOD_PRIMARY) && (km & KMOD_SHIFT)) ? new_OpenTabFlag :
176 (km & KMOD_PRIMARY) ? newBackground_OpenTabFlag : 0); 176 (km & KMOD_PRIMARY) ? newBackground_OpenTabFlag : 0);
177} 177}