1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-02 08:22:22 +00:00

* xdisp.c (display_tool_bar_line): Don't extend on a previously

drawn tool bar items (Bug#16058).
This commit is contained in:
Dmitry Antipov 2013-12-10 06:32:52 +04:00
parent 5a56578283
commit a71cfa02f3
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-12-10 Dmitry Antipov <dmantipov@yandex.ru>
* xdisp.c (display_tool_bar_line): Don't extend on a previously
drawn tool bar items (Bug#16058).
2013-12-09 Ken Brown <kbrown@cornell.edu>
* frame.c (get_frame_param): Make extern if HAVE_NTGUI.

View File

@ -11937,7 +11937,9 @@ display_tool_bar_line (struct it *it, int height)
int max_x = it->last_visible_x;
struct glyph *last;
prepare_desired_row (row);
/* Don't extend on a previously drawn tool bar items (Bug#16058). */
clear_glyph_row (row);
row->enabled_p = 1;
row->y = it->current_y;
/* Note that this isn't made use of if the face hasn't a box,