That is, try to match e.g. Control+shift+a, before trying to match Control+A.
In most cases, order doesn't matter. There are however a couple of symbols where the layout consumes the shift-modifier, and the generated symbol is the same in both the shifted and unshifted form. One such example is backspace.
Before this patch, key-bindings with shift-backspace would be ignored, if there were another key-binding with backspace.
So, for example, if we had one key-binding with Control+Backspace, and another with Control+Shift+Backspace, the latter would never trigger, as we would always match the first one.
By checking for unshifted matches first, we ensure Control+Shift+Backspace does match.
That is, try to match e.g. Control+shift+a, before trying to match Control+A.
In most cases, order doesn't matter. There are however a couple of symbols where the layout consumes the shift-modifier, _and_ the generated symbol is the same in both the shifted and unshifted form. One such example is backspace.
Before this patch, key-bindings with shift-backspace would be ignored, *if* there were another key-binding with backspace.
So, for example, if we had one key-binding with Control+Backspace, and another with Control+Shift+Backspace, the latter would never trigger, as we would always match the first one.
By checking for unshifted matches first, we ensure Control+Shift+Backspace does match.