X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=src%2Fglyphs-x.c;h=ae7d3be55fdb53edd14670df26d751a77e5712da;hp=b45832db0c0576c1a8026b4fc5bbf6e6d1b21e86;hb=21db8709c0c2dcedbd278c7fe571290d5ce80a71;hpb=02f4d2761a98c5cb9d5b423d2361160a5d8c9ee4 diff --git a/src/glyphs-x.c b/src/glyphs-x.c index b45832d..ae7d3be 100644 --- a/src/glyphs-x.c +++ b/src/glyphs-x.c @@ -2778,7 +2778,7 @@ x_tab_control_redisplay (Lisp_Object image_instance) but I couldn't find it. */ Lisp_Object old_selected =gui_item_list_find_selected (XCDR (IMAGE_INSTANCE_WIDGET_ITEMS (ii))); - Arg al [1]; + Arg al [2]; char* name; unsigned int num_children, i; Widget* children; @@ -2794,7 +2794,9 @@ x_tab_control_redisplay (Lisp_Object image_instance) if (!strcmp (XtName (children [i]), name)) { XtSetArg (al [0], XtNtopWidget, children [i]); - XtSetValues (IMAGE_INSTANCE_X_WIDGET_ID (ii), al, 1); + XtSetArg (al [1], XtNhighlightWidget, + children [i]); + XtSetValues (IMAGE_INSTANCE_X_WIDGET_ID (ii), al, 2); break; } }