-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
input: mark a command as canceled if it is explicitly dropped
In certain situations (including but not limited to begin window dragging), it is desired to cancel the current command completely. However, commands which have on_updown flag set require the command to be invoked in this situation. There is currently no way to know if the command is triggered normally or triggered because it is dropped. This adds a canceled state to mp_cmd which indicates this.
- Loading branch information
Showing
2 changed files
with
5 additions
and
1 deletion.
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