aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog1
-rw-r--r--src/xterm.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index da824826b0c..052bf6985c0 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -24,6 +24,7 @@
24 (x_draw_stretch_glyph_string): Call x_reset_clip_rectangles instead 24 (x_draw_stretch_glyph_string): Call x_reset_clip_rectangles instead
25 of XSetClipMask. 25 of XSetClipMask.
26 (x_draw_relief_rect) [USE_CAIRO]: Reset clipping. 26 (x_draw_relief_rect) [USE_CAIRO]: Reset clipping.
27 (x_fill_trapezoid_for_relief): Remove unnecessary cairo_close_path.
27 28
282015-02-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 292015-02-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
29 30
diff --git a/src/xterm.c b/src/xterm.c
index 8418dfaf431..c1970cc4334 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -820,7 +820,6 @@ x_fill_trapezoid_for_relief (struct frame *f, GC gc, int x, int y,
820 cairo_line_to (cr, x, y + height); 820 cairo_line_to (cr, x, y + height);
821 cairo_line_to (cr, top_p ? x + width - height : x + width, y + height); 821 cairo_line_to (cr, top_p ? x + width - height : x + width, y + height);
822 cairo_line_to (cr, x + width, y); 822 cairo_line_to (cr, x + width, y);
823 cairo_close_path (cr);
824 cairo_fill (cr); 823 cairo_fill (cr);
825 x_end_cr_clip (f); 824 x_end_cr_clip (f);
826} 825}