Make switching selection mode through modifier keys work again.

2008-06-23  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimpfreeselecttool.c
	(gimp_free_select_tool_modifier_key): Make switching selection
	mode through modifier keys work again.

svn path=/trunk/; revision=25978
This commit is contained in:
Martin Nordholts
2008-06-23 18:41:53 +00:00
committed by Martin Nordholts
parent ba7d6020da
commit 57e9c9943e
2 changed files with 13 additions and 7 deletions

View File

@ -1,3 +1,9 @@
2008-06-23 Martin Nordholts <martinn@svn.gnome.org>
* app/tools/gimpfreeselecttool.c
(gimp_free_select_tool_modifier_key): Make switching selection
mode through modifier keys work again.
2008-06-22 Michael Natterer <mitch@gimp.org>
* app/widgets/Makefile.am

View File

@ -1451,16 +1451,16 @@ gimp_free_select_tool_modifier_key (GimpTool *tool,
GimpDrawTool *draw_tool = GIMP_DRAW_TOOL (tool);
Private *priv = GET_PRIVATE (tool);
if (tool->display != display)
return;
if (tool->display == display)
{
gimp_draw_tool_pause (draw_tool);
gimp_draw_tool_pause (draw_tool);
priv->constrain_angle = state & GDK_CONTROL_MASK ? TRUE : FALSE;
priv->constrain_angle = state & GDK_CONTROL_MASK ? TRUE : FALSE;
priv->supress_handles = state & GDK_SHIFT_MASK ? TRUE : FALSE;
priv->supress_handles = state & GDK_SHIFT_MASK ? TRUE : FALSE;
gimp_draw_tool_resume (draw_tool);
gimp_draw_tool_resume (draw_tool);
}
GIMP_TOOL_CLASS (parent_class)->modifier_key (tool,
key,