mirror of https://github.com/GNOME/gimp.git
app: ignore button 1 release if we have no pointer grab
which is more correct than the previous commit
This commit is contained in:
parent
14d30fd795
commit
febc1da4be
|
@ -646,7 +646,7 @@ gimp_display_shell_canvas_tool_events (GtkWidget *canvas,
|
|||
case 1:
|
||||
state &= ~GDK_BUTTON1_MASK;
|
||||
|
||||
if (shell->scrolling)
|
||||
if (! shell->pointer_grabbed)
|
||||
return TRUE;
|
||||
|
||||
if (! shell->space_pressed && ! shell->space_release_pending)
|
||||
|
|
Loading…
Reference in New Issue