-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dnd_source: Add suppport for surface offset
The `drag_icon` callback is passed the offset of the cursor within the widget at the start of the drag, and can return an offset the drag surface should be placed relative to the cursor.
- Loading branch information
Showing
3 changed files
with
14 additions
and
8 deletions.
There are no files selected for viewing
Submodule iced
updated
9 files
+4 −3 | Cargo.toml | |
+42 −9 | core/src/clipboard.rs | |
+0 −43 | runtime/src/dnd.rs | |
+2 −0 | winit/Cargo.toml | |
+3 −3 | winit/src/clipboard.rs | |
+21 −24 | winit/src/platform_specific/mod.rs | |
+71 −3 | winit/src/platform_specific/wayland/mod.rs | |
+56 −2 | winit/src/platform_specific/wayland/subsurface_widget.rs | |
+90 −107 | winit/src/program.rs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters