diff --git a/src/Surface.zig b/src/Surface.zig index d2a403c8b..c16987b70 100644 --- a/src/Surface.zig +++ b/src/Surface.zig @@ -999,7 +999,7 @@ pub fn keyCallback( // Before encoding, we see if we have any keybindings for this // key. Those always intercept before any encoding tasks. if (event.action == .press or event.action == .repeat) { - const binding_mods = event.effectiveMods().binding(); + const binding_mods = event.mods.binding(); const binding_action_: ?input.Binding.Action = action: { var trigger: input.Binding.Trigger = .{ .mods = binding_mods,