Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DroppedFile support for Wayland #2083

Closed
chrisduerr opened this issue Dec 3, 2021 · 4 comments
Closed

Add DroppedFile support for Wayland #2083

chrisduerr opened this issue Dec 3, 2021 · 4 comments
Labels
DS - wayland F - duplicate This issue or pull request already exists H - help wanted Someone please save us

Comments

@chrisduerr
Copy link
Contributor

The DroppedFile event should be supported on Wayland through the data device, but afaik at this point the feature isn't implemented on Wayland yet.

I suppose the HoveredFile and HoveredFileCancelled could also be implemented, but I'm mainly concerned with the DroppedFile event.

@kchibisov
Copy link
Member

It uses the same protocol and shares objects as clipboard, so winit should also support clipboard to have drag and drop implemented, which is not the case right now...

@WhyNotHugo
Copy link

so winit should also support clipboard to have drag and drop implemented

Not really. They re-use the same objects because copy-pasting and drag-dropping share a lot of the same concepts, but you can implement the latter without the former.

@chrisduerr
Copy link
Contributor Author

you can implement the latter without the former.

Can and should aren't necessarily the same here though.

@kchibisov
Copy link
Member

Duplicate of #1881.

@kchibisov kchibisov added the F - duplicate This issue or pull request already exists label Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DS - wayland F - duplicate This issue or pull request already exists H - help wanted Someone please save us
Development

No branches or pull requests

4 participants