Shortcuts using mouse buttons 4 and 5 (wheel up/down) not always triggered
When using a binding using the mouse buttons 4 or 5 (wheel up and down), if the mouse pointer didn't move before the previous event (e.g. X and Y are the same) the binding doesn't trigger the bound action, and can leak to the app under the cursor.
This is very annoying, and is probably due to a corner case in managing button clicks, pointer motion or triggering actions.
E.g. using the Commands plugin, bind one of the commands to Ctrl+Button4 or Super+Button4, and try this combo:
- it only gets triggered once if you wheel up twice without moving the mouse
- on the subsequent non-triggering "clicks", if there's something scrollable underneath the pointer it gets scrolled.
This doesn't seem to happen with buttons 1, 2 and 3, and I can't test with buttons above 5 (I don't have any). OTOH, the modifier doesn't seem to matter.