gboolean gdk_keymap_map_virtual_modifiers ( GdkKeymap* keymap, GdkModifierType* state )
Maps the virtual modifiers (i.e. Super, Hyper and Meta) which
are set in
state to their non-virtual counterparts (i.e. Mod2,
Mod3,…) and set the corresponding bits in
This function is useful when matching key events against accelerators.
Available since: 2.20
Pointer to the modifier state to map.
The argument will be modified by the function. The instance takes ownership of the data, and is responsible for freeing it.