GNOME Bugzilla – Bug 732295
Add meta_key_binding_is_reversed()
Last modified: 2014-08-17 17:32:32 UTC
MetaKeyBinding can be marked as being reversed (META_KEY_BINDING_IS_REVERSED), but MetaKeyHandlerFunc callbacks cannot check whether this flag was set or not on the MetaKeyBinding which triggered the callback.
Created attachment 279336 [details] [review] Add meta_key_binding_is_reversed()
Review of attachment 279336 [details] [review]: ::: src/core/keybindings.c @@ +2795,3 @@ gpointer dummy) { + gint backwards = meta_key_binding_is_reversed (binding); While you're modifying this, can you change the variable to gboolean? @@ +2807,3 @@ gpointer dummy) { + gint backwards = meta_key_binding_is_reversed (binding); Dto.
Created attachment 279791 [details] [review] Add meta_key_binding_is_reversed() MetaKeyBinding can be marked as being reversed (META_KEY_BINDING_IS_REVERSED), but MetaKeyHandlerFunc callbacks cannot check whether this flag was set or not on the MetaKeyBinding which triggered the callback.
Review of attachment 279791 [details] [review]: OK
Attachment 279791 [details] pushed as c5c6b22 - Add meta_key_binding_is_reversed()