diff options
Diffstat (limited to 'src/web.zig')
| -rw-r--r-- | src/web.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/web.zig b/src/web.zig index ac0ecbbf..fed2ba5a 100644 --- a/src/web.zig +++ b/src/web.zig @@ -266,6 +266,9 @@ fn mouseWithHit(button_arg: u32, kind_arg: u32, col_arg: u32, row_arg: u32, mods .col = @intCast(@min(col_arg, std.math.maxInt(u16))), .row = @intCast(@min(row_arg, std.math.maxInt(u16))), .ctrl = mods & 1 != 0, + // Alt-click is B2 and Cmd/Super-click B3 (mouse.emulateButton). + .alt = mods & 2 != 0, + .super = mods & 8 != 0, } }); } |
