winit icon indicating copy to clipboard operation
winit copied to clipboard

Add support for file window events on Wayland

Open tymmesyde opened this issue 9 months ago • 3 comments

Add support for DroppedFile, HoveredFileCancelled and HoveredFile window events that were not supported on Wayland.

  • [x] Tested on all platforms changed
  • [x] Added an entry to the changelog module if knowledge of this change could be valuable to users
  • [x] Updated documentation to reflect any user-facing changes, including notes of platform-specific behavior
  • [x] Created or updated an example program if it would help users understand this functionality

tymmesyde avatar Jun 04 '25 17:06 tymmesyde

Is this still a draft PR? I think this should merge into master, instead of the last tagged release. Over there you can also push the x, y positions into the events.

I've tried this commit but leave doesn't seem to work.

HookedBehemoth avatar Jun 04 '25 21:06 HookedBehemoth

Is this still a draft PR? I think this should merge into master, instead of the last tagged release. Over there you can also push the x, y positions into the events.

I've tried this commit but leave doesn't seem to work.

It's not a draft PR, waiting for feedback on the code and if there are bugs to fix Thank you, yes the HoveredFileCancelled event was not dispatched, it should be fixed now

tymmesyde avatar Jun 04 '25 22:06 tymmesyde

There're plenty of PRs dealing with it already, and have everything in place to figure out the design.

kchibisov avatar Jun 07 '25 07:06 kchibisov