diff options
Diffstat (limited to 'src/xdisp.c')
| -rw-r--r-- | src/xdisp.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 4bab2756e64..e1b12b8464c 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -12319,7 +12319,6 @@ handle_tool_bar_click (struct frame *f, int x, int y, int down_p, | |||
| 12319 | { | 12319 | { |
| 12320 | /* Show item in pressed state. */ | 12320 | /* Show item in pressed state. */ |
| 12321 | show_mouse_face (hlinfo, DRAW_IMAGE_SUNKEN); | 12321 | show_mouse_face (hlinfo, DRAW_IMAGE_SUNKEN); |
| 12322 | hlinfo->mouse_face_image_state = DRAW_IMAGE_SUNKEN; | ||
| 12323 | last_tool_bar_item = prop_idx; | 12322 | last_tool_bar_item = prop_idx; |
| 12324 | } | 12323 | } |
| 12325 | else | 12324 | else |
| @@ -12330,7 +12329,6 @@ handle_tool_bar_click (struct frame *f, int x, int y, int down_p, | |||
| 12330 | 12329 | ||
| 12331 | /* Show item in released state. */ | 12330 | /* Show item in released state. */ |
| 12332 | show_mouse_face (hlinfo, DRAW_IMAGE_RAISED); | 12331 | show_mouse_face (hlinfo, DRAW_IMAGE_RAISED); |
| 12333 | hlinfo->mouse_face_image_state = DRAW_IMAGE_RAISED; | ||
| 12334 | 12332 | ||
| 12335 | key = AREF (f->tool_bar_items, prop_idx + TOOL_BAR_ITEM_KEY); | 12333 | key = AREF (f->tool_bar_items, prop_idx + TOOL_BAR_ITEM_KEY); |
| 12336 | 12334 | ||
| @@ -12399,7 +12397,6 @@ note_tool_bar_highlight (struct frame *f, int x, int y) | |||
| 12399 | && last_tool_bar_item != prop_idx) | 12397 | && last_tool_bar_item != prop_idx) |
| 12400 | return; | 12398 | return; |
| 12401 | 12399 | ||
| 12402 | hlinfo->mouse_face_image_state = DRAW_NORMAL_TEXT; | ||
| 12403 | draw = mouse_down_p ? DRAW_IMAGE_SUNKEN : DRAW_IMAGE_RAISED; | 12400 | draw = mouse_down_p ? DRAW_IMAGE_SUNKEN : DRAW_IMAGE_RAISED; |
| 12404 | 12401 | ||
| 12405 | /* If tool-bar item is not enabled, don't highlight it. */ | 12402 | /* If tool-bar item is not enabled, don't highlight it. */ |
| @@ -12428,7 +12425,6 @@ note_tool_bar_highlight (struct frame *f, int x, int y) | |||
| 12428 | 12425 | ||
| 12429 | /* Display it as active. */ | 12426 | /* Display it as active. */ |
| 12430 | show_mouse_face (hlinfo, draw); | 12427 | show_mouse_face (hlinfo, draw); |
| 12431 | hlinfo->mouse_face_image_state = draw; | ||
| 12432 | } | 12428 | } |
| 12433 | 12429 | ||
| 12434 | set_help_echo: | 12430 | set_help_echo: |