You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
determine coordinate (may be a little tricky since winit doesn't communicate whether the input source a mouse or touch event)
send FileHovered and FileDropped to the appropriate widget (including when moved over a new widget)
support grabs (include source to allow use of Manager::request_grab)
Currently, winit only reports HoveredFile once on hover-over-window start, HoveredFileCancelled when leaving the window, and DroppedFile when releasing. These include a path but nothing else. Additionally (at least on X11), the usual cursor and touch events are not received. It is therefore not possible to implement this over the current winit API. See rust-windowing/winit#1550
The text was updated successfully, but these errors were encountered:
Note: the cursor position should be received immediately after a drop ends which could be used to target the drop to a specific widget. This is hacky and incorrect for touchscreen drops (on platforms other than X11).
File hover/drop:
FileHovered
andFileDropped
to the appropriate widget (including when moved over a new widget)source
to allow use ofManager::request_grab
)Currently,
winit
only reportsHoveredFile
once on hover-over-window start,HoveredFileCancelled
when leaving the window, andDroppedFile
when releasing. These include a path but nothing else. Additionally (at least on X11), the usual cursor and touch events are not received. It is therefore not possible to implement this over the current winit API. See rust-windowing/winit#1550The text was updated successfully, but these errors were encountered: