app: Make sure button releases get handled by paint tools too

This commit is contained in:
Alexia Death 2010-02-19 22:41:20 +02:00
parent 5f0255e269
commit 2cb8f0a864

View file

@ -1082,7 +1082,7 @@ gimp_display_shell_canvas_tool_events (GtkWidget *canvas,
{
if (gimp_tool_control_is_active (active_tool->control))
{
g_array_append_val (shell->event_queue, image_coords);
if (shell->event_queue->len > 0)
gimp_display_shell_flush_event_queue (shell);