[Github-comments] [geany/geany] Make sure GDK_MOD2_MASK is cleared when getting modifiers (#1636)

Jiří Techet notifications at xxxxx
Thu Oct 12 17:30:16 UTC 2017


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

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1636
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20171012/ed5fa7ae/attachment.html>


More information about the Github-comments mailing list