mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
text: Bind BackSpace + Shift as BackSpace
Follow this old GTK+ bug: https://bugzilla.gnome.org/show_bug.cgi?id=80302 and ignore the Shift mask.
This commit is contained in:
parent
9be4cfe8a9
commit
b820e39406
@ -3132,6 +3132,10 @@ clutter_text_class_init (ClutterTextClass *klass)
|
||||
CLUTTER_KEY_BackSpace, 0,
|
||||
G_CALLBACK (clutter_text_real_del_prev),
|
||||
NULL, NULL);
|
||||
clutter_binding_pool_install_action (binding_pool, "delete-prev",
|
||||
CLUTTER_KEY_BackSpace, CLUTTER_SHIFT_MASK,
|
||||
G_CALLBACK (clutter_text_real_del_prev),
|
||||
NULL, NULL);
|
||||
clutter_binding_pool_install_action (binding_pool, "delete-prev",
|
||||
CLUTTER_KEY_BackSpace, CLUTTER_CONTROL_MASK,
|
||||
G_CALLBACK (clutter_text_real_del_word_prev),
|
||||
|
Loading…
Reference in New Issue
Block a user