GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

Commit 9b5dc755 authored by Michael Natterer's avatar Michael Natterer 😴

app: set GimpFreeSelectTool active only while mouse-1 is down

First step towards tightening the tool state machine...
parent 9cac8e7b
......@@ -1297,6 +1297,8 @@ gimp_free_select_tool_button_press (GimpTool *tool,
return;
}
gimp_tool_control_activate (tool->control);
gimp_draw_tool_pause (draw_tool);
gimp_free_select_tool_update_button_state (fst, state);
......@@ -1359,6 +1361,8 @@ gimp_free_select_tool_button_release (GimpTool *tool,
if (tool->display != display)
return;
gimp_tool_control_halt (tool->control);
gimp_draw_tool_pause (GIMP_DRAW_TOOL (fst));
gimp_free_select_tool_update_button_state (fst, state);
......
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