summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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}