app: ignore button 1 release if we have no pointer grab
which is more correct than the previous commit
This commit is contained in:
@ -646,7 +646,7 @@ gimp_display_shell_canvas_tool_events (GtkWidget *canvas,
|
|||||||
case 1:
|
case 1:
|
||||||
state &= ~GDK_BUTTON1_MASK;
|
state &= ~GDK_BUTTON1_MASK;
|
||||||
|
|
||||||
if (shell->scrolling)
|
if (! shell->pointer_grabbed)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
if (! shell->space_pressed && ! shell->space_release_pending)
|
if (! shell->space_pressed && ! shell->space_release_pending)
|
||||||
|
Reference in New Issue
Block a user