-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Call
*Grab::unset
when grab is removed due to surface not being alive
It seems I missed one place where a grab could be removed. This fixes an issue on cosmic-comp where a surface being destroyed during a DnD drag from that surface would result in the DnD surface still displaying. (For instance, closing cosmic-workspaces with a keybinding while dragging). (I guess the `&mut D` argument to `with_grab` is needed after all... I'll probably not create another dozen PRs adding and removing it again. It's an internal API anyway.)
- Loading branch information
Showing
3 changed files
with
120 additions
and
55 deletions.
There are no files selected for viewing
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
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