meta_display_get_keybinding_action: strip out uninteresting modifiers

That is, don't consider the state of num lock, xkb group number, etc,
when looking up keybindings.

https://bugzilla.gnome.org/show_bug.cgi?id=613278
This commit is contained in:
Dan Winship 2010-03-18 17:56:20 -04:00
parent 1465895ff7
commit 1abed05413

View File

@ -517,6 +517,7 @@ meta_display_get_keybinding_action (MetaDisplay *display,
{
MetaKeyBinding *binding;
mask = mask & 0xff & ~display->ignored_modifier_mask;
binding = display_get_keybinding (display, keysym, keycode, mask);
if (binding)