Hello to the list!

I'm currently implementing mouse events and I'm a bit confused by the amounts of dragging states... :

BROWSER_MOUSE_DRAG_1
BROWSER_MOUSE_DRAG_ON
BROWSER_MOUSE_HOLDING_1

Esepecially I can't see the difference between BROWSER_MOUSE_DRAG_ON and BROWSER_MOUSE_HOLDING_1 ...

The comment for DRAG_ON says:
/* a drag operation was started and a mouse button is still pressed */

Isn't an drag operation ALWAYS in conjuction with an mouse button still pressed? otherwise it wouldn't be an dragging operation, or is that wrong?

Comment for MOUSE_HOLDING_1:
/* while button 1 drag is in progress */

To me this sounds this has to be reported when: a mouse button is still pressed.

How do I report that an dragging operation has ended, does Netsurf recognize this automatically if none of the dragging flags are set?

Thanks & Greets,
Ole


Reply via email to