summaryrefslogtreecommitdiff
path: root/src/surface_mouse.zig
diff options
context:
space:
mode:
authorMitchell Hashimoto <m@mitchellh.com>2025-03-12 09:55:46 -0700
committerMitchell Hashimoto <m@mitchellh.com>2025-03-12 09:55:52 -0700
commit0f4d2bb2375c707182dba8cf2dd7723a2e918e79 (patch)
tree25c71a20325a32cdf61d831103ef3e1837a19bdb /src/surface_mouse.zig
parent86d3f18707d2ca9318d66deb5867c0e0c917eb60 (diff)
Lots of 0.14 changes
Diffstat (limited to 'src/surface_mouse.zig')
-rw-r--r--src/surface_mouse.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/surface_mouse.zig b/src/surface_mouse.zig
index cc1643a88..ed1e36335 100644
--- a/src/surface_mouse.zig
+++ b/src/surface_mouse.zig
@@ -120,7 +120,7 @@ fn isMouseModeOverrideState(mods: input.Mods) bool {
/// Returns true if our modifiers put us in a state where dragging
/// should cause a rectangle select.
pub fn isRectangleSelectState(mods: input.Mods) bool {
- return if (comptime builtin.target.isDarwin())
+ return if (comptime builtin.target.os.tag.isDarwin())
mods.alt
else
mods.ctrlOrSuper() and mods.alt;