aboutsummaryrefslogtreecommitdiffstats
path: root/src/mac.m
diff options
context:
space:
mode:
Diffstat (limited to 'src/mac.m')
-rw-r--r--src/mac.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mac.m b/src/mac.m
index 07eb28d..ad1ef2b 100644
--- a/src/mac.m
+++ b/src/mac.m
@@ -679,7 +679,7 @@ handleCrossing(PuglWrapperView* view, NSEvent* event, const PuglEventType type)
wloc.y,
rloc.x,
[[NSScreen mainScreen] frame].size.height - rloc.y,
- getModifiers(event),
+ puglFilterMods(getModifiers(event), spec),
[event keyCode],
(code != 0xFFFD) ? code : 0,
};
@@ -710,7 +710,7 @@ handleCrossing(PuglWrapperView* view, NSEvent* event, const PuglEventType type)
wloc.y,
rloc.x,
[[NSScreen mainScreen] frame].size.height - rloc.y,
- getModifiers(event),
+ puglFilterMods(getModifiers(event), spec),
[event keyCode],
(code != 0xFFFD) ? code : 0,
};
@@ -868,7 +868,7 @@ handleCrossing(PuglWrapperView* view, NSEvent* event, const PuglEventType type)
wloc.y,
rloc.x,
[[NSScreen mainScreen] frame].size.height - rloc.y,
- mods,
+ puglFilterMods(mods, special),
[event keyCode],
special};