> No, your other fix is more correct. It should be ev->x >= bgw &&
> ev->x < x.

Then, the line 349:

        if((ev->x < x + blw) && ev->button == Button1)

would be more correct if it was:

        if((ev->x >= x && ev->x < x + blw) && ev->button == Button1)

Imho,

        if(ev->x < x)
        ...
        if((ev->x < x + blw) && ev->button == Button1)

are less redundant, due to function returns if the mouse event carries out the 
previous condition. Anyway, I think both solutions are equally correct.

Kind regards,
Nibble

Reply via email to