raise the color select when the color area is clicked.

Wed Jul  8 22:36:12 CDT 1998  Larry Ewing  <lewing@gimp.org>

	* app/color_area.c (color_area_edit): raise the color select when
	the color area is clicked.
This commit is contained in:
CDT 1998 Larry Ewing 1998-07-09 03:35:39 +00:00 committed by Larry Ewing
parent b2ab803f9f
commit 354d726481
4 changed files with 29 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Wed Jul 8 22:36:12 CDT 1998 Larry Ewing <lewing@gimp.org>
* app/color_area.c (color_area_edit): raise the color select when
the color area is clicked.
Wed Jul 8 21:08:03 CDT 1998 Larry Ewing <lewing@gimp.org> Wed Jul 8 21:08:03 CDT 1998 Larry Ewing <lewing@gimp.org>
* app/gimpimage.c (gimp_image_raise_layer): fixed a small typo * app/gimpimage.c (gimp_image_raise_layer): fixed a small typo

View File

@ -195,6 +195,9 @@ color_area_edit (void)
{ {
if (! color_select_active) if (! color_select_active)
color_select_show (color_select); color_select_show (color_select);
else
gdk_window_raise (color_select->shell->window);
color_select_set_color (color_select, r, g, b, 1); color_select_set_color (color_select, r, g, b, 1);
} }
} }
@ -287,3 +290,8 @@ color_area_update ()
{ {
color_area_draw (); color_area_draw ();
} }

View File

@ -195,6 +195,9 @@ color_area_edit (void)
{ {
if (! color_select_active) if (! color_select_active)
color_select_show (color_select); color_select_show (color_select);
else
gdk_window_raise (color_select->shell->window);
color_select_set_color (color_select, r, g, b, 1); color_select_set_color (color_select, r, g, b, 1);
} }
} }
@ -287,3 +290,8 @@ color_area_update ()
{ {
color_area_draw (); color_area_draw ();
} }

View File

@ -195,6 +195,9 @@ color_area_edit (void)
{ {
if (! color_select_active) if (! color_select_active)
color_select_show (color_select); color_select_show (color_select);
else
gdk_window_raise (color_select->shell->window);
color_select_set_color (color_select, r, g, b, 1); color_select_set_color (color_select, r, g, b, 1);
} }
} }
@ -287,3 +290,8 @@ color_area_update ()
{ {
color_area_draw (); color_area_draw ();
} }