summaryrefslogtreecommitdiff
path: root/src/macos.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/macos.zig')
-rw-r--r--src/macos.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/macos.zig b/src/macos.zig
index e839816c..20463481 100644
--- a/src/macos.zig
+++ b/src/macos.zig
@@ -1725,6 +1725,9 @@ fn mouseWithHit(button_arg: c_int, kind_arg: c_int, col: u16, row: u16, mods: u3
.col = col,
.row = row,
.ctrl = mods & 1 != 0,
+ // Option-click is B2 and Cmd-click B3 (mouse.emulateButton).
+ .alt = mods & 2 != 0,
+ .super = mods & 8 != 0,
} });
}