Previously mosuebinds for the same context using the same button
but different modifiers would be merged, e.g. only the last one
would survive the merge. This commit adds the missing check for
keyboard modifiers.
Fixes #630
Reported-by: @lidgnulinux
if (existing->context == current->context
&& existing->button == current->button
&& existing->direction == current->direction
- && existing->mouse_event == current->mouse_event) {
+ && existing->mouse_event == current->mouse_event
+ && existing->modifiers == current->modifiers) {
wl_list_remove(&existing->link);
action_list_free(&existing->actions);
free(existing);