gdk_keymap_get_modifier_mask docs inaccurate
gdk_keymap_get_modifier_mask says:
* Note that this function always returns real hardware modifiers, not
* virtual ones (e.g. it will return #GDK_MOD1_MASK rather than
* #GDK_META_MASK if the backend maps MOD1 to META)
which however is not true at least for intent GDK_MODIFIER_INTENT_DEFAULT_MOD_MASK, where the returned value contains SUPER|HYPER|META, but not the corresponding real modifiers (which would be from MOD2..MOD5).
gtk-3-24 HEAD as of today.