summaryrefslogtreecommitdiff
path: root/src/xdisp.c
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2013-12-10 06:32:52 +0400
committerDmitry Antipov <dmantipov@yandex.ru>2013-12-10 06:32:52 +0400
commita71cfa02f3bba0caaf49c4fc49d46fa6eb077692 (patch)
treeb3f0e997f73da7f2c29e8c3dbe0c77087b1515a6 /src/xdisp.c
parent5a56578283b07d1f4676ab40f53c7aaa028f2ec8 (diff)
* xdisp.c (display_tool_bar_line): Don't extend on a previously
drawn tool bar items (Bug#16058).
Diffstat (limited to 'src/xdisp.c')
-rw-r--r--src/xdisp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 530eae3cb9..6daa913115 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -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,