mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 16:56:09 +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
|
// Before encoding, we see if we have any keybindings for this
|
||||||
// key. Those always intercept before any encoding tasks.
|
// key. Those always intercept before any encoding tasks.
|
||||||
if (event.action == .press or event.action == .repeat) {
|
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: {
|
const binding_action_: ?input.Binding.Action = action: {
|
||||||
var trigger: input.Binding.Trigger = .{
|
var trigger: input.Binding.Trigger = .{
|
||||||
.mods = binding_mods,
|
.mods = binding_mods,
|
||||||
|
Reference in New Issue
Block a user