nakst / gf

A GDB frontend for Linux.
MIT License
1.82k stars 61 forks source link

fix: making sure to only set breakpoints when clicking on the left margin with `UI_MSG_LEFT_DOWN` #141

Closed s4my closed 1 year ago

s4my commented 1 year ago

If you're making a selection from right to left until the beginning of a line, and your cursor ends up hovering over the left margin, a breakpoint is set by accident when you lift your finger from the left mouse button.

nakst commented 1 year ago

I fixed this myself in cdf8a55, which also handles the case of having the left down event in the margin and then moving the mouse off the margin.