app: ignore button 1 release if we have no pointer grab

which is more correct than the previous commit
This commit is contained in:
Michael Natterer
2011-04-06 22:44:08 +02:00
parent 14d30fd795
commit febc1da4be

View File

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