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

Provide a way to cancel a DnD #1574

Open
YaLTeR opened this issue Nov 3, 2024 · 1 comment
Open

Provide a way to cancel a DnD #1574

YaLTeR opened this issue Nov 3, 2024 · 1 comment

Comments

@YaLTeR
Copy link
Contributor

YaLTeR commented Nov 3, 2024

As far as I can tell, currently DnDGrab unconditionally tries to complete the DnD in unset(), which means that there's no way to force-cancel it, e.g. when the user presses Escape in a compositor.

@YaLTeR
Copy link
Contributor Author

YaLTeR commented Nov 3, 2024

Semi related, it would be nice to get the drop result (success or cancel) in ClientDnDHandler::dropped().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant