13
0

handle an action named "Escape" specially when blocking activation during drags

This commit is contained in:
Paul Davis 2022-04-18 12:22:30 -06:00
parent c0b1f0e63c
commit aee3cf1534

View File

@ -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) {