Commit 8aaf77ba authored by Jehan's avatar Jehan
Browse files

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.
parent 9c663a65
......@@ -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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment