Kaydet (Commit) 9185395c authored tarafından Colomban Wendling's avatar Colomban Wendling

Merge pull request #1636 from techee/kb_osx_fix

Make sure GDK_MOD2_MASK is cleared when getting modifiers.
......@@ -124,7 +124,10 @@ GdkModifierType keybindings_get_modifiers(GdkModifierType mods)
{
#ifdef __APPLE__
if (mods & GDK_MOD2_MASK)
{
mods |= GEANY_PRIMARY_MOD_MASK;
mods &= ~GDK_MOD2_MASK;
}
#endif
return mods & gtk_accelerator_get_default_mod_mask();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment