gtk_accelerator_get_default_mod_mask() behaves differently on OS X under GTK 3 when compared to GTK 2. On GTK 2 it used to clear the GDK_MOD2_MASK bit while on GTK 3 it's preserved. We need to clear it ourselves otherwise e.g. <Command>S leads to <Commands><Mod2>S and none of the keybindings work under GTK 3. You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/1636
-- Commit Summary --
* Make sure GDK_MOD2_MASK is cleared when getting modifiers
-- File Changes --
M src/keybindings.c (3)
-- Patch Links --
https://github.com/geany/geany/pull/1636.patch https://github.com/geany/geany/pull/1636.diff