|
|
On 5/25/21 10:32 AM Manolo wrote:
I see that the macOS version of the D-n-D code sends an
FL_RELEASE event right after the initial FL_DRAG event,
while the Windows versions sends it after the end of the
D-n-D operation. ... Some more analysis is required to determine
whether this FL_RELEASE event is wrong or not.
Hi Manolo,
just from reading your words (above) I would assume that sending
FL_RELEASE while doing the DND operation is actually wrong and
unexpected behavior because the mouse button is still held down
until ... the drop occurs by releasing the mouse button. This is the
point where FL_RELEASE should be sent.
That said, the docs state:
FL_DND_RELEASE
The user has released the mouse button dropping data into
the widget.
(end of citation)
The docs don't explicitly state that an FL_RELEASE event is also
sent, but I think this is necessary for apps not watching FL_DND_*
events.
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/33cfa74b-b0f4-3ec4-5951-ab2edd245a08%40online.de.
[ Direct Link to Message ] | |
|
| |