mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 08:46:08 +03:00
bindings should not use consumed modifiers
Over time, they probably should, but GTK is a bit too aggressive right now with consumed modifiers and I need to take a closer look at that.
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user