I think this is caused by checking if the modifier key is pressed, instead of checking if *only* that modifier key is pressed.
Based on https://developer.gnome.org/gdk3/stable/gdk3-Windows.html#GdkModifierType, we can't check if they match exactly, we have to mask out reserved masks, which we do using GDK_MODIFIER_MASK.
The attached patch should do this. It also lets me set
copy_accelerator=4
and have Ctrl+C = copy Ctrl+Shift+C = interrupt
I think this is caused by checking if the modifier key is pressed, instead of checking if *only* that modifier key is pressed.
Based on https:/ /developer. gnome.org/ gdk3/stable/ gdk3-Windows. html#GdkModifie rType, we can't check if they match exactly, we have to mask out reserved masks, which we do using GDK_MODIFIER_MASK.
The attached patch should do this. It also lets me set
copy_accelerator=4
and have
Ctrl+C = copy
Ctrl+Shift+C = interrupt