handle an action named "Escape" specially when blocking activation during drags
This commit is contained in:
parent
c0b1f0e63c
commit
aee3cf1534
@ -496,7 +496,12 @@ Bindings::activate (KeyboardKey kb, Operation op)
|
||||
/* bindings cannot be used during drags */
|
||||
|
||||
if (_drag_active) {
|
||||
return true;
|
||||
/* sadly we need to special case one possible action, because
|
||||
Escape is used to break drags.
|
||||
*/
|
||||
if (!action || action->get_name() != _("Escape")) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
if (action) {
|
||||
|
Loading…
Reference in New Issue
Block a user