mirror of https://github.com/GNOME/gimp.git
Bug 697530 - zoom during mouse-pan focuses on wrong location
Block all key events while middle-mouse panning, to prevent accelerators from being invoked.
This commit is contained in:
parent
65800af41d
commit
3643551280
|
@ -208,7 +208,7 @@ gimp_display_shell_events (GtkWidget *widget,
|
|||
break;
|
||||
|
||||
default:
|
||||
if (shell->space_pressed)
|
||||
if (shell->space_pressed || shell->scrolling)
|
||||
return TRUE;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue