diff --git a/src/apprt/gtk/Surface.zig b/src/apprt/gtk/Surface.zig index a4cf91860..60296d7e8 100644 --- a/src/apprt/gtk/Surface.zig +++ b/src/apprt/gtk/Surface.zig @@ -906,6 +906,8 @@ fn keyEvent( } } + // Before using the physical key, try to convert the keyval + // directly to a key. This allows the use of key remapping. if (gtk_key.keyFromKeyval(keyval)) |key| { break :key key; }