mirror of https://github.com/GNOME/gimp.git
app: return from gimp_display_shell_space_pressed() immediately when...
... scrolling in progress. In particular, this could happen while panning with mouse middle click and hitting space. This space should simply be ignored.
This commit is contained in:
parent
9c663a6574
commit
8aaf77ba11
|
@ -1580,7 +1580,7 @@ gimp_display_shell_space_pressed (GimpDisplayShell *shell,
|
|||
{
|
||||
Gimp *gimp = gimp_display_get_gimp (shell->display);
|
||||
|
||||
if (shell->space_release_pending)
|
||||
if (shell->space_release_pending || shell->scrolling)
|
||||
return;
|
||||
|
||||
if (! gimp_display_shell_keyboard_grab (shell, event))
|
||||
|
|
Loading…
Reference in New Issue